My first php tag

·

1 min read

index.php :

"Hello World" is a string of characters.

A string of characters is text.

echo "Hello World" means prints the text onto the page.

<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">

    <title>Demo</title>
</head>
<body>
<h1>
    <?php
      echo "Hello World"
    ?>
</h1>
</body>
</html>