Puedes combinar html y PHP tantas veces como quieras:
Código PHP:
Ver original<?php
$contenidophp = 'Variable';
?>
<html>
<?php echo $contenidophp; ?>
</html>
<?php
$mascontenidophp = 'Variable 2';
?>
Lee esto:
http://php.net/manual/es/language.basic-syntax.phpmode.php