Mass.gov
Massachusetts Department of Elementary and Secondary Education
Go to Selected Program Area
Massachusetts State Seal
News School/District Profiles School/District Administration Educator Services Assessment/Accountability Family & Community  
> Administration Finance/Grants PK-16 Program Support Information Services  
>  WebTeam Home
>  Accessibility Support
>  Programming Standards
>  Conventions
>  ESE Logos

WebTeam Resources

Deprecated HTML Tags and Attributes

Older HTML tags and attributes that have been superseded by other more functional or flexible alternatives (whether as HTML or as CSS ) are declared as deprecated in HTML4 by the W3C. Browsers should continue to support deprecated tags and attributes, but eventually these tags are likely to become obsolete and so future support cannot be guaranteed.

Replacements for deprecated tags are shown below.
Deprecated attributes can be replaced by style-sheet controls.

Deprecated HTML Tags
DeprecatedDescriptionReplacement
<APPLET>Inserts applet<OBJECT>
<B>bold fontcss styles
<BASEFONT>sets font stylescss styles
<CENTER>centers elementsstyles: class="center"
<DIR>directory list<UL>, <DL>
<EM>italicized fontcss styles
<FONT>applies font stylescss styles
<HR>horizontal rule/images/stopline.gif
<I>italicized fontcss styles
<ISINDEX>adds search field<form>
<MENU>menu list<ul>
<S>strike throughcss styles
<STRIKE>strike throughcss styles
<STRONG>bold fontcss styles
<U>underlinecss styles

Deprecated HTML attributes
AttributeDeprecated if used in:Replacement
ALIGN<CAPTION>, <IMG>, <TABLE>,<TR>,<TD>,<TH>  <HR>, <DIV>, <h1..6>, <P>css styles: right, center, left, top, middle, bottom
ALINK<BODY>establish by default styles
BACKGROUND<BODY>do not use BG images
BGCOLOR<BODY>,<TABLE>,<TR>,<TD>,<TH>css styles
BORDERCOLOR<BODY>,<TABLE>,<TR>,<TD>,<TH>css styles
CLEAR<BR> 
COMPACT<OL>,<UL>in-line style
COLOR<BASEFONT>,<FONT>css styles
BORDER<IMG>,<OBJECT>css styles
HSPACE<IMG>,<OBJECT>cellpadding
HEIGHT<HR>, <PRE>, <TD>, <TH>in-line style
LINK<BODY>establish by default styles
NOSHADE<HR>none
NOWRAP<TD>, <TH>class="nowrap"
SIZE<BASEFONT>, <FONT>, <HR>css styles
START<OL>in-line style
TEXT<BODY>css styles
TYPE<LI>css styles: a, aa, i, ii
VALIGN<CAPTION>, <IMG>, <TABLE>, <HR>, <DIV>, <h1..6>, <P>css styles: class="middle", class="bottom"
ALINK<BODY>establish by default styles
VALUE<LI> 
VLINK<BODY>establish by default styles
WIDTH<HR>, <PRE>, <TD>, <TH>in-line style
VSPACE<IMG>,<OBJECT>cellpadding


Last Updated: March 13, 2004
E-mail this page| Print View| Print Pdf  
Massachusetts Department of Elementary and Secondary Education Search · Site Index · Policies · Site Info · Contact ESE