There is not even need for html around the code...

examples/intro/hello_world_no_html.php
<?php echo "Hello World"; ?>