I was about to use includes for my websites, setting up includes for
the header, footer, nav, etc. In the header I added the DOCTYPE to the end of the </head> tag.
If I do it this way, how would I add a stylesheet just for one specific page if the head of the page is in a include?
well there are alot of various ways to do this one would in the included header php file
add an variable
like so
and then in the file that includes it define the css variable to whatever you want to be included
if this is your header.php
and this is your index.php