[thelist] Re: thelist digest, Vol 1 #2238 - 11 msgs

Techwatcher techwatcher at accesswriters.com
Sun Apr 21 17:21:30 CDT 2002


Hi,

New member here, but I have been trying to code in XHTML for a year, so
I know about "end tag" issue. The goal of XHTML is to begin to move
HTML to compliance with XML, which is not just normal mark-up language.
In XML, for example, elements and attributes (as well as values) are
case-sensitive (because li and LI may have two distinct meanings). In
addition, XHTML is also like XML in that ALL tags must have start & end
tags. The only exceptions are content-less tags such as br, img, hr,
and meta. In those cases, the correct syntax is start tag, followed by
space, followed by final slash before the closing >, as in :
<br /> or <img src="ref" />.

In addition, for XHTML, NO overlapping of tags, only nesting. Finally,
strictly speaking (strict DTD statement), there are no scripts, no
splitting comments to hide scripts or styles from browsers not
recognizing them, and a few other goodies (baddies?). Must use the link
tag for styles (CSS). All this and more, as usual, at w3c.

Cheers --
Carol Stein
techwatcher at accesswriters.com




More information about the thelist mailing list