Jump to content


Doctype Statement

  • Please log in to reply
2 replies to this topic

#1 aussie123

  • Members
  • Pip
  • Newbie
  • 7 posts

Posted 10 April 2006 - 04:11 AM

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]

#2 kenrbnsn

  • Staff Alumni
  • Advanced Member
  • 8,235 posts
  • LocationHillsborough, NJ, USA

Posted 10 April 2006 - 04:25 AM

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].


#3 wildteen88

  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 10 April 2006 - 09:44 AM

I would recommend you this DOCTYPE:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
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.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users