What are the best practices for including META TAGS in PHP without compromising HTML structure?

When including META TAGS in PHP, it is important to ensure that the HTML structure is not compromised. One way to achieve this is by using the "echo" statement to output the META TAGS within the appropriate HTML tags. By properly formatting the META TAGS within the PHP code, you can maintain the integrity of the HTML structure.

<?php
echo '<meta name="description" content="Your website description">';
echo '<meta name="keywords" content="keyword1, keyword2, keyword3">';
?>