DOCTYPE in html template

evilhomer

New member
Joined
Apr 24, 2005
Messages
1
Hi, I was just using Directadmin and noticed that there is no DOCTYPE in the HTML template.

Is it possible to add a DOCTYPE, even if it's just <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">, just to help pages validate.

Hope this helps.

and if you wanted to get really fancy you could have a dropdown menu to pick the DOCTYPE that you require e.g XHTML 1.0, 1.1, etc... it would be a great help for remote updates in a hurry.
 
As far as I can tell you can add whatever Doctype you want to the skin files. I placed it in template_admin_top.html for the enhanced skin and it seemed to work just fine.

Give it a try.
 
Back
Top