CodesJava

Easy learning with example program codes

HTML5 Tags

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

TagUses
<article>Used to specify a blog, a magazine or a newspaper article or any other independent piece of 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 which is formatted in other 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 textfield.
<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 a 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 don’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.
Please follow and like us:
error
Posted in HTML   









Copyright © 2019 CodesJava DMCA.com Protection Status