New and deprecated tags in HTML5

html5 elements listhtml5 elements list

List of New and deprecated tags in HTML5

There are many new tags that are introduced in HTML5 and many old tags are removed as well. Today we are going to show the list of both new and deprecated or removed tags, elements and attributes in HTML5.

html5 elements list

html5 elements list

The following list of HTML tags or elements includes the elements that are deprecated or removed from HTML5 and the functionality is handled with CSS.

HTML Elements (Tags) Description
<acronym> Used to define an acronym
<applet> Used to define an applet
<basefont> Used to define a base font for the whole page.
<big> Used to define big text
<center> Used to define centered text
<dir> Used to define a directory list
<font> Used to define text font, color, and size
<frame> Used to define a frame
<frameset> Used to define a set of frames
<isindex> Used to define a single line input field
<noframes> Used to define a no-frame section
<s> Used to define strikethrough text
<strike> Used to define strikethrough text
<tt> Used to define teletype text
<u> Used to define underlined text

The following table shows the removed attributes in HTML5. In one column the attributes name comes and in the second column the HTML tag or HTML element name appears for which the attribute is used. These elements are deleted in HTML5 and the functionalities are handled from CSS.

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

Now see the list of new HTML5 elements or new HTML5 tags that are included in HTML5. The first column shows the name and the second column has the description.

Elements/Tags Description
<article> Used to define an article in HTML5 document
<aside> Used to define content aside from the page main content
<bdi> Used to define a portion of content that may be organized in an different direction from the other text contents
<header> Used to define a header for the HTML5 document or a HTML5 section
<main> Used to define the main content of a HTML5 document
<mark> Used to define marked or highlighted text in HTML5
<details> Used to define an additional detail that the a user can hide or view
<dialog> Used to define a dialog box or a dialog window
<figcaption> Used to define a caption for a <figure> HTML tag/element
<figure> Used to define self contained content, code listings, diagrams, photos, like illustrations etc.
<footer> Used to define a footer for the HTML5 document or a HTML5 section
<menuitem> Used to define a command or menu item that the user can invoke from a popup menu in HTML5
<meter> Used to define a scalar measurement within a known range in HTML5
<nav> Used to define navigation links in the HTML5 document
<section> Used to define a section in the HTML5 document
<summary> Used to define a visible heading for a <details> element in HTML5
<time> Used to define a date and time in HTML5
<progress> Used to define the progress of a task in HTML5
<rp> Used to define alternate if there is no support in the browser for ruby annotations in HTML5
<rt> Used to define an explanation or pronunciation of characters in HTML5 (for East Asian typography)
<ruby> Used to define a ruby annotation in HTML5 for East Asian typography
<wbr> Used to define a possible line break in HTML5

 

Comments