Jump to content

Doctype in .php files


florin.sabin

Recommended Posts

You should have a DOCTYPE in your final HTML output.  Where you put the actual tag depends on how your generating that output though.  If your php file is the HTML page just with little bits of PHP in it then yea, add the doctype there.  If your using a template system then your doctype would go in your templates somewhere.

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.