HTMLGoodies
The ultimate html resource
Earthweb.com


About the Double-Underlined Links


Become a Partner




Search Clipart.com:



internet.commerce















HTML Goodies : HTML and Graphics Tutorials : HTML 4.01 Tags : HTML4 Reference: Deprecated Tags in HTML 4.0

HTML GOODIES TO GO NEWSLETTER


Other Related Newsletters

Deprecated Tags in HTML 4.0


By Sue Charlesworth

Deprecated tags and attributes are those that have been replaced by other, newer, HTML constructs. Deprecated tags are still included in the HTML draft or recommendation but are clearly marked as deprecated. Once deprecated, tags may well become obsolete. The draft "strongly urges" the nonuse of deprecated tags.

<ISINDEX>...</ISINDEX>  

<ISINDEX> allowed a form to contain a simple string search. This action should be replaced by an <INPUT> form element.

<APPLET>...</APPLET>  

The <APPLET>...</APPLET> tag enabled the running of a Java applet. This tag has been replaced by the more encompassing <OBJECT>...</OBJECT> tag.

<CENTER>...</CENTER>  

The <CENTER>...</CENTER> tag, oddly enough, centered text or graphics. <CENTER> is deprecated in favor of <DIV> tag with the align attribute set to "center."

<FONT>...</FONT>  

<FONT>...</FONT> allowed the specification of font sizes, colors, and faces. Style sheets, rather than HTML code, have taken over character formatting duties.


NOTE: Based as it is on SGML, HTML purists have never been happy using markup--the description of a document's structure--to define presentation, or how a document appears. With the formal (pending) adoption of style sheets, character formatting can be taken out of HTML code.

<BASEFONT>...</BASEFONT>  

<BASEFONT>...</BASEFONT> set a base font size that could then be referenced for size increases or decreases. Use style sheets instead to set and reference relative font sizes.

<STRIKE>...</STRIKE> and <S>...</S>  

Both <STRIKE>...</STRIKE> and <S>...</S> created strikethrough characters. Replace these tags with style sheets.

<U>...</U>  

<U>...</U> created underlined characters. As with the tags above, use style sheets to create underlines.

<DIR>...</DIR>  

Moving away from fonts, we have the <DIR>...</DIR> tag. <DIR> describes a directory list. While originally designed to output elements in horizontal columns like UNIX directory listings, browsers formatted <DIR> lists like unordered lists. As there is no difference between the two, use a <UL>...</UL> list instead of a <DIR>...</DIR> list.

<MENU>...</MENU>  

<MENU>...</MENU> lists have also fallen by the wayside. The <MENU> tag described single-column menu lists. As with <DIR> lists, browsers made no distinction between <MENU> and <UL> lists. Use <UL>...</UL> lists instead of <MENU> ones.

from Special Edition Using HTML 4: Appendix A
What's New in HTML 4.0

© Copyright Macmillan Computer Publishing. All rights reserved.

Tools:
Add htmlgoodies.com to your favorites
Add htmlgoodies.com to your browser search box
IE 7 | Firefox 2.0 | Firefox 1.5.x
Receive news via our XML/RSS feed

IT Management Networking & Communications Web Development Hardware & Systems Software Development Earthwebnews.com

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers