Sintaxis básica

<!DOCTYPE html>
<html>
<body>

<h1>Developer News</h1>

<?php echo "The Best PHP Examples"; ?>

</body>
</html>



The output of that would be:

Developer News

The Best PHP Examples
Light Ladybird