What are the best practices for incorporating HTML code within PHP for displaying images?

When incorporating HTML code within PHP for displaying images, it is best practice to use the `echo` statement to output the HTML code. This allows you to seamlessly include HTML tags for displaying images within your PHP script. By properly embedding the image source within the HTML code, you can ensure that the images are displayed correctly on the webpage.

<?php
$imageSource = "image.jpg";
echo "<img src='$imageSource' alt='Image'>";
?>