Lurker News

Comments (983) 199 threads

Show all comments

Showing thread 63 of 199

true_religion1 reply#
Xhtml. I bought into it completely but hmtl5 is a better system.
nayuki1 reply#
XHTML5 works today, and my site is live proof. It helps catch dumb typos when typing HTML code by hand. It also means the CSS is more likely to be applied to the correct DOM tree.
Kiro2 replies#
I had a look at your site and it looks like normal HTML to me, except at the top. How does that help anything?
AndrewOMartin1 reply#
Many sites are very subtly not normal HTML.

Continue this thread — 1 reply

nayuki#
The biggest difference is serving with the header "Content-Type: application/xhtml+xml". This triggers strict XML parsing in the browser, and any syntax error produces a big ugly yellow screen.