Write the HTML code

<html>

<head>

<title>fast page</title>

</head>

<body>

<h1> Good Morning</h1>

</body>

</html>

The code result

How to convert HTML to php
How to convert HTML to php

Write the code

<html>

<head>

<title>fast page</title>

</head>

<body>

<? Php

Print “<h1> Good Morning</h1>”;

?>

</body>

</html>

This script used of 1 php process

All time php script is begin php and end ?>

When this page save the file extension of .php

The code result

How to convert HTML to php
How to convert HTML to php
Posted in PHP

Leave a Reply

Your email address will not be published. Required fields are marked *