PHP and HTML - nolenfelten/Codecademy-PHP GitHub Wiki
PHP code can be written right into your HTML, like this:
<?php
echo "I'm learning PHP!";
?>
</p>
</body>
Your PHP code goes inside the delimiters. Here we use the function echo to output I'm learning PHP!. We also end the line with a semicolon.
Instructions Try it out. On line 8, use echo to output your name. Make sure to end your line with a semicolon.
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<p>
<?php
echo 'Nolen Felten' ;
?>
</p>
</body>
</html>