There was a question on Mark Birbeck's mind. Should Xpath feature CSS? "But while some sort of convergence of XPath and CSS selectors may seem an obvious thought to many, the CSS 'language' continues to resist being brought up to date, and instead exists in a strange, murky world, of 'quirkarounds' and 'standards-proprietary' syntax. (As people require the ability to address other parts of the source tree, new selection mechanisms have to be added, but in a way that doesn't affect existing rules -- resulting in 'quirky workarounds', and syntax that is
Nobody's perfect, but when you're a web developer it sometimes seems that the whole world expects you to be. "DOCTYPE confusion.Completely missing, incorrect, or in the wrong place. I have seen HTML 4.0 Transitional used in documents containing XHTML markup as well as in documents, DOCTYPE declarations appearing after the opening tag, and incomplete DOCTYPES.
Why? Two reasons. First, it’s required, as stated in the W3C HTML 4.01 spec as well as in the W3C XHTML 1.0 spec. Second, modern web browsers use the specified DOCTYPE to decide which
"There are three ways to connect a CSS style sheet with HTML: You can use an internal style sheet, you can use an external style sheet, or you can use the HTML STYLE attribute to associate a CSS style with a particular HTML element. You don't have the luxury of these options in XML, at least not with the current crop of browsers. At this point, there's really only one way of connecting a style sheet to an XML document: by using the <?xml-stylesheet?> processing instruction.
Actually, <?xml-stylesheet?> isn't built in to the XML
We've provided examples below that show that CSE HTML Validator can find problems and issues that other syntax checkers and validators (such as the popular W3C HTML Validator) cannot find. The testing was done with recent versions of CSE HTML Validator. Validate the source HTML document using the W3C HTML Validator and see how many problems/issues it misses (it misses ALL of them as of July 9, 2007). Even with all these issues, the W3C validator says that you may want to place an icon on your page to show your readers that you've taken the care to