Home > Article > Web Front-end > What tags are abandoned by html5
The tags abandoned in HTML5 are: frame, frameset, noframes, font, center, basefont, big, strike, tt, u, s, acronym, applet, dir, etc.
The operating environment of this tutorial: Windows 10 system, HTML5 version, Dell G3 computer.
The following HTML 4.01 elements have been deleted in HTML5. Although browsers still support these tags for compatibility reasons, it is recommended to use new alternative tags , the paradox is that old browsers do not have enough support for new tags, depending on the audience of the project.
Category 1: Expressive elements
basefont
tt
##noframes
But html5 supports iframe.
Many expressive attributes have also been removed by the new specification, as follows:
align
The link, vlink, alink, and text attributes on the body tag
bgcolor
height and width
scrolling attribute on iframe element
valign
hspace and vspace
The cellpadding, cellspacing and border attributes on the table tag
The profile attribute on the header tag
The link tag a target attribute
img and longdesc attribute of iframe element
Category 4: Others
abbr replaces acronym (used to represent abbreviations)
object replaces applet
ul replaces dir
Recommended tutorial: "
html video tutorialThe above is the detailed content of What tags are abandoned by html5. For more information, please follow other related articles on the PHP Chinese website!