[thelist] XHTML validation question

Eöl eol1 at yahoo.com
Wed Oct 31 17:53:17 CST 2001

Just use <div id="blah"></div> ... no need to actually
close blah with </div blah>

Also, this isn't that great for comments, remember
<div> is a block element with an implied <br/> after
the </div> .  While ok if are using <div> for some
reason, not the greatest if you are just trying to
insert comments.


--- "Kevin D. White" <nonzero at well.com> wrote:
> That's a rather elegent idea.  I don't know of any
> problems but I still
> would not try it.  I would be afraid that a current
> or even future browser
> would flag that end tas an unknown tag and
> completely ignore it.  You are
> iviting the browser to decide when to implictly
> close tags.  Netscape 4.x
> especially has problems with implicit tag closing. 
> For reference see the
> famous no end TABLE tag bug.  Maybe I'm just too
> chicken.
> Attaching descriptors to end tags is a really nice
> idea.  It would be great
> if the W3C would implement something like this.
> ----- Original Message -----
> From: "Tyme" <nopun at bellsouth.net>
> > Having picked up the tip from an Evolter, I have
> taken a liking to
> > descriptive end tags -- great for readability,
> especially for nested
> tables.
> > Example:
> >
> > <div id="navbar">
> > ...
> > </div navbar>
> >
> > However, after just validating pages at W3C, the
> HXML1.0 Transitional
> > validator did not take kindly to these
> descriptors.
> ---------------------------------------
> For unsubscribe and other options, including
> the Tip Harvester and archive of TheList go to:
> http://lists.evolt.org Workers of the Web, evolt ! 

Do You Yahoo!?
Make a great connection at Yahoo! Personals.

More information about the thelist mailing list