HTML5 Reference – Deprecated Tags


What is deprecated ?

Defines something which is removed/disabled means deprecated.

Deprecated HTML Tags.

HTML have disabled/removed some tags which are not recommended to use in the current version.

In this case, we can use the new alternative tags instead of using the deprecated tags.

This newly introduced alternative tags will have more functionality enhancements than the old tags.

New alternative tags are recommended to use in HTML.

Here is the list of some of the deprecated tags,

SNOTAGDescriptionALTERNATE
1<acronym>Tells the browser that the characters it contains are an acronym or abbreviation.<abbr>
2<applet>Defines embedded Java applet.<object>
3<basefont>Specifies the default font size and color of the text. It can be used several times inside the <head> or <body> tags.
4<big>Increases the font size by one conventional unit.CSS styles
5<blink>Creates an enclosed text, which flashes slowly.animation
6<center>Aligns the content to the center.text-align
7<dir>Defines a list of directory titles.<ul>; list-style
8<embed>Used as a container for external applications, multimedia and interactive content that the browser doesn’t understand.<object>
9<font>Defines the font characteristics.CSS styles
10<frame>Defines a specific window, a frame, where we can load another web page.<iframe>
11<frameset>Defines the structure of a frame, number of columns and rows, and how many percent/pixels it will occupy in a frame.
12<isindex>Displays search strings in the current document.<form>
13<noframes>Contains an alternate text to be displayed in browsers that do not support frames.
14<marquee>Creates a scrolling text or an image.animation, transform
15<menu>Defines where to open the link.<ul>
16<plaintext>Tells the browser, that its content must be displayed as an ordinary text without formatting.<pre>
17<s>Defines a text, which is not relevant anymore.text-decoration
18<strike>Defines the strikethrough text.<del>, <s>, CSS styles
19<tt>Defines text to be displayed in monospace or fixed-width font as it would appear on a teletype or typewriter.font-family, <kbd>, <code>, <spam>
20<u>In HTML 4.01 specifies an underlined text. In HTML 5, specifies text that is stylistically different from normal text.text-decoration

HTML coding for a website !!!

Click to Learn More about – HTML Tutorial for beginners

Deprecated Attributes

SnoRemove AttributesFrom the Elements
1revlink, a
2charsetlink and a
3shapea
4coordsa
5longdescimg and iframe.
6targetlink
7nohrefarea
8profilehead
9versionhtml
10nameimg
11schememeta
12archiveobject
13classidobject
14codebaseobject
15codetypeobject
16declareobject
17standbyobject
18valuetypeparam
19typeparam
20axistd and t
21abbrtd and t
22scopetd
23aligncaption, iframe, img, input, object, legend, table, hr, div, h1, h2, h3, h4, h5, h6, p, col, colgroup, tbody, td, tfoot, th, thead and tr.
24alinkbody
25linkbody
26vlinkbody
27textbody
28backgroundbody
29bgcolortable, tr, td, th and body.
30bordertable and object.
31cellpaddingtable
32cellspacingtable
33charcol, colgroup, tbody, td, tfoot, th, thead and tr.
34charoffcol, colgroup, tbody, td, tfoot, th, thead and tr.
35clearbr
36compactdl, menu, ol and ul.
37frametable
38compactdl, menu, ol and ul.
39frametable
40frameborderiframe
41hspaceimg and object.
42vspaceimg and object.
43marginheightiframe
44marginwidthiframe
45noshadehr
46nowraptd and th
47rulestable
48scrollingiframe
49sizehr
50typeli, ol and ul.
51valigncol, colgroup, tbody, td, tfoot, th, thead and tr
52widthhr, table, td, th, col, colgroup and pre.