What are alternative methods to include content in PHP within an HTML page?

When including PHP content within an HTML page, one common method is to use the `include` or `require` functions to pull in external PHP files. However, an alternative method is to use PHP's `echo` or `print` functions within the HTML code to dynamically generate content.

<?php
// Alternative method to include content in PHP within an HTML page using echo
echo "<h1>Welcome to my website!</h1>";
echo "<p>This is some dynamic content generated by PHP.</p>";
?>