Theme
Primary Color
Lesson 4

PHP Tags And Instructions Separation

<?php

  echo 'We Love PHP';
  echo '<br>';

  ECHO 'We Love PHP';
  ECHO '<br>';

  print 'We Love PHP';
  print '<br>';

  PRINT 'We Love PHP';
  PRINT '<br>';

?>

<?='We Love PHP With Short Tag';?>

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Page</title>
  </head>
  <body>
    <?php echo 'HTML'; ?>
  </body>
</html>
<?php echo 'HTML';