Anne makes the point that whatever DOCTYPE you use, all browsers will treat your markup as ‘tag soup’ (aka HTML) unless you send it with the correct MIME Type. That is, it’s the MIME Type, not the DOCTYPE, that matters when it domes to determining whether a browser will treat a page as XHTML or HTML.
For her part, Molly notes that while an XHTML DOCTYPE may not kick browsers into strict XML mode, it does have an effect — sometimes a dramatic one — on how browsers render pages.
Both posts make excellent points, and are well worth a moment if you missed them when they were new.
- #1 On March 19th, 2006 5:33 pm