RE: meaning of deprecated

by "Katherine Pollara" <kpollara(at)home.com>

 Date:  Wed, 25 Jul 2001 12:59:25 -0400
 To:  <bart(at)gigabee.com>,
"'Ed Peddycoart'" <epeddycoart(at)cg2.com>,
"'HWG-Basics'" <hwg-basics(at)hwg.org>
 In-Reply-To:  site5
  todo: View Thread, Original
I studied CSS last year in an HWG class and my feeling after fussing with
Netscape lack of rendering of the code was that CSS was just a waste of time
for the present except for the most basic use. I believe now NN 6.0 is
supposed to be a huge improvement but I haven't worked with it.  I still
find it frustrating every time I try it.
Kate Pollara



-----Original Message-----
From: owner-hwg-basics(at)hwg.org [mailto:owner-hwg-basics(at)hwg.org]On
Behalf Of Bart Szyszka
Sent: Wednesday, July 25, 2001 11:57 AM
To: Ed Peddycoart; HWG-Basics
Subject: Re: meaning of deprecated


>I keep reading about deprecated elements/attributes etc...  I assume this
>means that it is no longer used...is that right?
Basically, deprecated elements/attributes are marked for the gas chamber.
In the Transitional versions of HTML4/XHTML, the elements are still
valid, but their use is not recommended because in future HTML versions,
they will most likely be removed (usually because there's a CSS equivalent
that should be used instead). In the Strict versions, they're invalid. You
can
see the official definition at:
http://www.w3.org/TR/html4/conform.html#deprecated

>Does this mean that html such as <td width="25%"> is evil in XHTML 1.0
>Strict?
Yes. HTML was originally meant to markup specific structures in a document
like paragraphs, headings, etc. It was only later that stylistic tags were
added to it which go against the intent of what HTML is for. Since then,
CSS was created and the W3C has been trying to move people away from
using stylistic markup in HTML in favor of controling the document's style
with a stylesheet. So when the width attribute is being deprecated, it is
because it's stylistic and thus the width should be controlled by CSS
instead:
     td { width:25%; }

--
Bart Szyszka  bart(at)gigabee.com  ICQ:4982727
GigaBee  ...is here to save the Web!
http://www.gigabee.com

HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA