PHP - Your first program

Here is an example of a php program, PhP Example

<body>
<h1> This is an example of a php script embedded in a html page</h1>
<?  echo "this is the PHP bit<br />"; ?>
</body>

The tags <?       ?> contain the php script.
When the server is asked for this page it executes the php script on the server and sends just the output to the browser -

<body>
<h2> This is an example of a php script embedded in a html page</h2>
  this is the PHP bit
</body>

Exercise
Create the html/php file above and save to your public_html directory on the server with the php extension.
Point your browser at the php file.