designer — 2011-06-10T16:47:40-04:00 — #1
I am creating a training session for a course I am studying, and am needing to add an explanation of why capitals shouldn't be used in XHTML. Could someone please give me good explanation? Thanks in advance.
earlyout — 2011-06-10T17:05:58-04:00 — #2
From XHTML 1.0: The Extensible HyperText Markup Language (Second Edition)
XHTML documents must use lower case for all HTML element and attribute names. This difference is necessary because XML is case-sensitive e.g. <li> and <LI> are different tags.
stevie_d — 2011-06-11T06:59:32-04:00 — #3
Is "because the rules of XHTML say they're not allowed" good enough?
xhtmlcoder — 2011-06-11T08:00:58-04:00 — #4
A wide-angle disintegration beam will hit you squarely in the chest if you don't... Like was mentioned in XML the elements and attributes are lower-case. Technically XHTML is an application of XML, unlike HTML 4.01, which is not case sensitive in that manner.