How to embed php with HTML tags:

1. In the body section just type :-<?php echo ‘This is our first php class’;?>
2. Run your project.

Did you find what the echo does. It displays the string in the browser as output.

How to echo html codes in .php file :

Here goes the code:
<?php
echo ‘<table><tr><td>name</td></tr></table>’;
?>
This code displays the table through php code.But don’t get confused you can do this directly in the .php file directly without embedding in <?php ?> tag. As you used to do in HTML. Why I have  shown this example is in future you may need to echo some html elements through php so don’t get confused.