Using html in php

Below code show in a simple and easy way that how to use html in php.



<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Using html tags in php tags</title>
<style type="text/css">
table, tr, td{
border: 1px solid black;
}
</style>
</head>
<body>
<?php
echo "<table>
<tr>
<td>item 1</td>
<td>item 2</td>
</tr>
</table>";
?>
</body>
</html>