Jump to content

Doctype Statement


aussie123

Recommended Posts

Hi,
I have been told i need to add a doctype statement to my site .
I have no idea what i need here so i was hoping someone can do one for me to add to my site to suit my html.
I added one but its not what i need,when i did a scan it says i have 173 errors.
Please can someone help me here.
The following is my site i need one for.

Regards
Aussie123
[a href=\"http://www.singleconnexions.com\" target=\"_blank\"]SingleConnexions.com[/a]
Link to comment
https://forums.phpfreaks.com/topic/6992-doctype-statement/
Share on other sites

I would recommend you this DOCTYPE:
[code]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">[/code]
You can get more DOCTYPES [a href=\"http://www.w3schools.com/tags/tag_doctype.asp\" target=\"_blank\"]here[/a]

It doesn't mater what DOCTYPE you have those errors won't go away as your HTML syntax is in fact invalid in some places. To check out any errors with your html head over to the [a href=\"http://validator.w3.org/\" target=\"_blank\"]HTML Validator[/a]. This will show up any problems with your current HTML syntax and ways to correct the errors too.

Also I am moving this to the HTML Help forum.
Link to comment
https://forums.phpfreaks.com/topic/6992-doctype-statement/#findComment-25444
Share on other sites

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.