Jump to content


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


Doctype Statement

Recommended Posts

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.

[a href=\"http://www.singleconnexions.com\" target=\"_blank\"]SingleConnexions.com[/a]

Share this post

Link to post
Share on other sites
This is not a PHP question, but rather it should be under the HTML forum.

In order to get familar with what DOCTYPE are used where, start [a href=\"http://www.w3.org/QA/Tips/Doctype\" target=\"_blank\"]here[/a].


Share this post

Link to post
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.

Share this post

Link to post
Share on other sites


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.