The first uses of PHP were for dynamic HTML pages like:
<?php include_once('dynamic-news.php'); ?>
<html>
  <head><title><?php getname(); ?>'s custom news</title></head>
  <body>
    <h1>Welcome, <?php getname(); ?></h1>
    <p>In today's news:</p>
    <?php print getHeadlines(); ?>
  </body>
</html>