HTML5 Deprecated Tags and Attributes

HTML5 Deprecated Tags and Attributes



Deprecated Tags:

The following elements are not available in HTML5 anymore and their function is better handled by CSS:
Tags (Elements)Description
<acronym>Defines an acronym
<applet>Defines an applet
<basefont>Defines an 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 strikethrough text
<strike>Defines strikethrough text
<tt>Defines teletype text
<u>Defines underlined text

Deprecated Attributes:

HTML5 has none of the presentational attributes that were in HTML4 as their functions are better handled by CSS. Some attributes from HTML4 are no longer allowed in HTML5 at all and they have been removed compeletely.
Following is the table having removed attributed and their corresponding impacted tags (elements) ie. elements from which those attributes have been removed permanently:
Removed AttributesFrom the Elements
revlink, a
charsetlink and a
shapea
coordsa
longdescimg and iframe.
targetlink
nohrefarea
profilehead
versionhtml
nameimg
schememeta
archiveobject
classidobject
codebaseobject
codetypeobject
declareobject
standbyobject
valuetypeparam
typeparam
axistd and t
abbrtd and t
scopetd
aligncaption, iframe, img, input, object, legend, table, hr, div, h1, h2, h3, h4, h5, h6, p, col, colgroup, tbody, td, tfoot, th, thead and tr.
alinkbody
linkbody
vlinkbody
textbody
backgroundbody
bgcolortable, tr, td, th and body.
bordertable and object.
cellpaddingtable
cellspacingtable
charcol, colgroup, tbody, td, tfoot, th, thead and tr.
charoffcol, colgroup, tbody, td, tfoot, th, thead and tr.
clearbr
compactdl, menu, ol and ul.
frametable
compactdl, menu, ol and ul.
frametable
frameborderiframe
hspaceimg and object.
vspaceimg and object.
marginheightiframe
marginwidthiframe
noshadehr
nowraptd and th
rulestable
scrollingiframe
sizehr
typeli, ol and ul.
valigncol, colgroup, tbody, td, tfoot, th, thead and tr
widthhr, table, td, th, col, colgroup and pre.
HTML5 Deprecated Tags and Attributes HTML5 Deprecated Tags and Attributes Reviewed by Cadotz media on October 06, 2018 Rating: 5
Ndugu ahsante kwa kuitembelea Cadotz, Endelea kufurahia huduma zetu pia Tunakusogezea Cadotz uchague unachokitaka katika menyu zetu.
Bofya chini

MIZIKI | MAPENZI | AFYA