Results 1 to 2 of 2

Thread: Doctypes

  1. #1
    Join Date
    Aug 2012


    Only use Strict Doctype headers when producing HTML 4.01 and XHTML 1.0 web pages. If you use Transitional Doctypes you are incorporating deprecated Markup and your pages may render in Quirks mode thereby inviting problems.

    Remember that if you serve XHTML as content (MIME) type text/html (as 95%+ presently is) you are actually only producing HTML pages - if you wish to produce them as true XHTML (with XML functionality) pages you need to serve them as application/xhtml+xml - see Problems Serving XHTML 1.0 Web Pages

    Web Developer Tool Kit - for creating Standards compliant and Interoperable web pages
    W3C Markup Validation Service - validate HTML code for reliable rendering in all Browsers
    WAVE accessibility evaluation tool - check page structure, image alt text, form labels, etc.

  2. #2
    Join Date
    Aug 2012
    Or you stay current an use HTML5 and avoid the failed attempt to fuse HTML and XML.
    one of my toys And my repository and my old self ranting plus a bonus Getting the most out of Q/A sites
    Code that is 100% standards compliant is 100% correct 100% of the time... anything else is just a hack

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center

Recent Articles