<html>
  <body>
   <ul>
    <?php
     for($nr=0; $nr<10; $nr++){
       echo "    <li>Number $nr</li>\n";
     } 
    ?>
   </ul>
  </body>
</html>