W3C home > Mailing lists > Public > www-style@w3.org > July 1999

<span> (was Re: <U> Deprecated)

From: John Whelan <whelan@itp.unibe.ch>
Date: Tue, 20 Jul 1999 13:05:18 -0400 (EDT)
Message-id: <199907201304.PAA29812@itpserver>
To: www-style@w3.org
Cc: Steven.Pemberton@cwi.nl, davids@nwi.net, soilsrus@yahoo.com
Jason Weigle <soilsrus@yahoo.com> writes:

> If I could just comment about something that Steven
> wrote. Be wary when using <span> to delineate sections
> to apply style to. <span> is a Netscape origninated
> tag, designed specifically for use in stylesheets and
> such.

It's also a part of the W3C HTML 4.0 standard, which has been around
for over a year and a half.  If IE doesn't properly support it yet,
isn't that a defect of their browser?  (Besides which, shouldn't a
browser be able to extract the style information from <foo
class="bar">Blah</foo> even if it doesn't understand the tag?  I would
certainly expect this from an XML-compliant browser, which I thought
IE5 was supposed to be.)

The real problem here is using <span> to replace HTML elements with
syntactic meaning, like <dfn>, <em>, <strong>, <cite>, <h1>, etc.
This is exactly the sort of thing CSS-doomsayers warn us about.

					John T. Whelan
					whelan@iname.com
					http://www.slack.net/~whelan/

      ------------------------------------------------
          only 38 days until the Swiss premiere of
         Star Wars Episode I: "The Phantom Menace"!
                Thank you for not spoiling.
Received on Tuesday, 20 July 1999 13:58:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:53:59 GMT