You're putting HTML in a PHP block, so your web server is trying to parse the HTML as PHP - and fails, so you get an error back.
All you have to do is not enclose it in <?php ... ?>
, and the HTML will show nicely. You only have to use <?php ... ?>
when you have actual PHP code to place within it.