Skip to content

HTML Deprecated Tags and Attributes

REMINDER: In your assignments and tests, you will be marked down for use of any of the following deprecated tags and/or attributes.

Deprecated Tags

Tags/Elements Description
<acronym> Defines an acronym
<applet> Defines an applet
<basefont> Defines a base font for the page
<big> Defines big text
<center> Defines centered text
<dir> Defines a directory list
<font> Defines text font, size and color
<frame> Defines a frame
<frameset> Defines a set of frames
<isindex> Defines a single-line input field
<noframes> Defines a noframe section
<s> Defines a strikethrough text
<strike> Defines a strikethrough text
<tt> Defines teletype text
<u> Defines underlined text

Deprecated Attributes

Removed Attributes From the Elements
rev <link>, <a>
charset <link>, <a>
shape <a>
coords <a>
longdesc <img>, <iframe>
target <link>
nohref <area>
profile <head>
version <html>
name <img>
scheme <meta>
archive <object>
classid <object>
codebase <object>
codetype <object>
declare <object>
standby <object>
valuetype <param>
type <param>
axis <td>, <t>
abbr <td>, <t>
scope <td>
align <caption>, <iframe>, <img>, <input>, <object>, <legend>, <table>, <hr>, <div>, <h1>, <h2>, <h3>, <h4>, <h5>, <h6>, <p>, <col>, <colgroup>, <tbody>, <td>, <tfoot>, <th>, <thead>, <tr>
alink <body>
link <body>
vlink <body>
text <body>
background <body>
bgcolor <table>, <tr>, <td>, <th>, <body>
border <table>, <object>
cellpadding <table>
cellspacing <table>
char <col>, <colgroup>, <tbody>, <td>, <tfoot>, <th>, <thead>, <tr>
charoff <col>, <colgroup>, <tbody>, <td>, <tfoot>, <th>, <thead>, <tr>
clear <br>
compact <dl>, <menu>, <ol>, <ul>
frame <table>
frameborder <iframe>
hspace <img>, <object>
vspace <img>, <object>
marginheight <iframe>
marginwidth <iframe>
noshade <hr>
nowrap <td>, <th>
rules <table>
scrolling <iframe>
size <hr>
type <li>, <ol>, <ul>
valign <col>, <colgroup>, <tbody>, <td>, <tfoot>, <th>, <thead>, <tr>
width <hr>, <table>, <td>, <th>, <col>, <colgroup>, <pre>

Reference

  • [TutorialsPoint] HTML5 - Deprecated Tags & Attributes. Link Here