If you are new to domains and looking to buy, sell and learn about domains then you have come to the right place. DNForum is the largest domain name community on the internet and continues to grow every day. There are over 105,000 domainers on DNForum doing everything from buying domains, selling domains, learning about domains and discussing domains. Take a minute and Register.
Register Today on DNForum IT'S FREE!Hi guys and guyettes,
I had this posted in another location, but couldn't get a response. I apologize if this is the wrong place to post it, but I really need an answer to this question.
Can anyone help me with this?
I'm currently installing this doctype on my websites:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
Is that the correct one to use or should I be using:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
Exactly what does having the correct doctype do for a website? Should all types of websites use the same doctype?
Thanks a lot for any feedback.
Rick
Rick,
DOCTYPE defines the language schema of the following XML document. If omitted, most browsers use the so-called 'loose' schema that allows many usual HTML mistakes inexperienced coders do.
The two DOCTYPE definitions you mention are for HTML 4.01, a pretty old standard from mid-90s. Nowadays good coders use XHTML Transitional or Strict which are more clean and semantically correct.
It ensures correct display and parsing of the [X]HTML document.Exactly what does having the correct doctype do for a website?
No. DOCTYPE should tell browsers and bots what is the language of the following document.Should all types of websites use the same doctype?
Thank you accomatic,
I really appreciate the help. Now I can correct some of the mistakes I'm making. My websites thank you too.
Rick
Bookmarks