HTML5 Tags

Some new tags were introduced in HTML 5 to provide a better document structure. These tags are listed below.

Tag Uses
<article> It is used to specify a blog, magazine, newspaper article, or any other independent content in a document.
<aside> Used to indicate that the specified article is somehow related to the rest of the document.
<audio> Used to define an audio file in HTML.
<bdi> Used for bi-directional isolation, i.e., to isolate a part of a content that is formatted in another direction from the outside text document.
<canvas> Used to draw canvas in an HTML document.
<data> Used to facilitate a machine-readable version of the data.
<datalist> Used to facilitate an auto-complete feature for text fields.
<details> Used to define any additional information on a topic or a summary.
<dialog> Used to specify a window or a dialog box.
<figcaption> Used to specify a caption for a <figure> element.
<figure> Used to specify self-contained content like photos, diagrams, etc.
<footer> Used to specify a footer for a section.
<header> Used to specify a header for a section.
<main> Used to specify the main content of a document.
<mark> Used to mark or highlight the specified content.
<menuitem> Used to specify a command that the user can invoke from a popup menu.
<meter> Used to determine a scalar value within a given range.
<nav> Used to specify a navigation link in an HTML document.
<progress> Used to define the progress of a task.
<rp> Used to specify the content to show in a browser that doesn’t support ruby annotation.
<rt> Used to indicate an explanation or pronunciation of characters.
<ruby> Used to specify a ruby annotation along with <rp> and <rt>.
<section> Used to specify a section in an HTML document.
<summary> Used to define a visible heading for the HTML <details> element.
<svg> Used to display shapes.
<time> Used to define a date or time.
<video> Used to specify a video file in HTML.
<wbr> Used to specify a line break opportunity.