>>530
PHPはもともとhtmlの中に<?php ?>というタグでスクリプトを埋め込めるというふうに作られた

<html>
<body>
<?php 処理 ?>
html タグ
<?php 処理 ?>
html タグ
<?php 処理 ?>
</body>
</html>