Re: xhtml compliance

by "EB" <doublebase(at)wanadoo.nl>

 Date:  Sat, 15 Sep 2001 01:18:08 +0200
 To:  "hwg listserve" <hwg-techniques(at)hwg.org>
 References:  one
  todo: View Thread, Original
| I don't believe there is such a tag as <./br> because <br> is
| considered an empty element (one that has never had an end tag).  So,
| since it has only a beginning tag, you have to do the closing inside that
| tag with <.br />

not quite ;-o

the full syntax <.br><./br> is correct for xml.
<.br /> (including the whitespace) is a shorthand of that meant to ensure
backward compatibility with all (well, i hope so :-) user agents.

eric

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA