Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.