Massachusetts Department of Elementary and Secondary Education
Go to Selected Program Area
Massachusetts State Seal
Students & Families Educators & Administrators Teaching, Learning & Testing Data & Accountability Finance & Funding About the Department Education Board  
>  WebTeam Home
>  Accessibility Support
>  Programming Standards
>  Conventions
>  DESE 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
<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
COMPACT<OL>,<UL>in-line style
BORDER<IMG>,<OBJECT>css styles
HEIGHT<HR>, <PRE>, <TD>, <TH>in-line style
LINK<BODY>establish by default styles
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
VLINK<BODY>establish by default styles
WIDTH<HR>, <PRE>, <TD>, <TH>in-line style

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