Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

XHTML vs HTML

Name: Anonymous 2010-07-10 0:52

Your preference and why?

Name: Anonymous 2010-07-10 1:33

I don't think XHTML is more concise than HTML. On the contrary; compare <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> ... <meta http-equiv="content-type" content="application/xhtml+xml; charset=UTF-8" /> with <!DOCTYPE html> ... <meta charset="UTF-8">.

But I will admit, this is more about HTML5 than HTML proper. Incidentally, the only reason I wouldn't use XHTML right now for projects that don't require old browser support is because HTML5 has tags that offer much more concise structural markup (section, article, nav, etc.). But I do like the feeling of security that comes with XHTML, even if in practice it may end up breaking things more than keeping them together (as in >>3's case).

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List