generate html php code example
Example 1: convert html code php
// html_entity_decode (php)
Ex:
<style>
.red {
color: red;
}
.bold {
font-weight: bold;
}
</style>
<?php
echo "<font class='red bold'> * required </font>";
?>
Example 2: create page html
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<h1>This is a Heading</h1>
<p>This is a paragraph.</p>
</body>
</html>