HTML and CSS Reference
In-Depth Information
Change Name to Lowercase
Make all element and attribute names lowercase. Make most entity names lowercase, except for those that refer
to capital letters.
Code View:
<BLOCKQUOTE CITE=
'http://www.gutenberg.org/dirs/etext00/dvlft10.txt'>
<P>
It was, then, with <EM>considerable</EM> surprise that I
received a telegram from Holmes last Tuesday&MDASH;he has
never been known to write where a telegram would
serve&MDASHin the following terms:
</P>
<P>
Why not tell them of the Cornish horror&MDASH;strangest
case I have handled.
</P>
</BLOCKQUOTE>
<blockquote cite=
'http://www.gutenberg.org/dirs/etext00/dvlft10.txt'>
<p>
It was, then, with <em>considerable</em> surprise that I
received a telegram from Holmes last Tuesday&mdash;he has
never been known to write where a telegram would
serve&mdash;in the following terms:
</p>
<p>
Why not tell them of the Cornish horror&MDASH;strangest
case I have handled.
</p>
</blockquote>
Motivation
XHTML uses lowercase names exclusively. All elements and attributes are written in lowercase. For example,
<table> is recognized but not <TABLE> or <Table> . In XHTML mode, lowercase is required.
Entity Names
Entity names are sometimes case-sensitive, even in classic HTML. For instance, &eacute; resolves to é,
but &Eacute; resolves to É. It's important to get these right, too, as an XHTML browser will recognize
Search WWH ::




Custom Search