What is the correct syntax for including HTML within an echo statement in PHP?

When including HTML within an echo statement in PHP, you need to make sure to properly escape the quotes and special characters to avoid syntax errors. One common way to do this is by using single quotes for the echo statement and double quotes for the HTML attributes. Another approach is to use concatenation to combine the HTML with the echo statement. Both methods ensure that the HTML is properly included and rendered by the browser.

<?php
// Using single quotes for the echo statement and double quotes for HTML attributes
echo '<div class="container">
        <h1>Hello, World!</h1>
      </div>';
?>

<?php
// Using concatenation to combine HTML with the echo statement
echo '<div class="container>' . 
        '<h1>Hello, World!</h1>' . 
     '</div>';
?>