I have seen several posts but I haven't really got around it.
I am finding out PHP is a lot more useful than I thought so I'm trying to use it as much as possible for its flexibility to modify content from a single file.
Can I include the contents of <head> tags inside a php file and then insert it to the html?
like...
<html>
<?php include("head_contents.php"); ?>
<body>
blablabla
</body>
</html>
By the way, would the metatags be included in that head_contents.php as they are usually typed directly into the HTML file?
I will appreciate actual code shown if I am wrong.
Thank you!!!