HTML6 Overview : HTML6 New Tags and Features
HTML6 is sixth revision of HTML with namespaces that has structure like XML. XML namespaces will help you use the same tag without conflicting it with any other tag.
For instance the one used in the XHTML DOCTYPE:
In HTML6 we take advantage of this ingenious concept by giving us freedom to use whatever tag we want by the W3C reserving namespaces and not tags. The W3C would basically reserve the right to all namespaces, and each namespace they reserve will trigger a different HTML API.
This begins a HTML document. Equivelent to the current <html> tag.
This is the title of the HTML document. Equivalent to the current <title> tag.
This is a bit different than the current HTML version. Meta data in HTML6 can be anything. Unlike HTML now, there are no required or non-standard meta types. It’s used to store content for you as a developer, or for other sites as a way to grab information such as a page description.
This is a HTML’s body tag. Equivelent to the current <body> tag.This is where you’d place most of the stuff that would be visible to the users like text, media, and so on.
This tag takes the following attributes:
charset: The character encoding such as “UTF-8”.
href: The link to the source file.
media: The type of device the item should run on, for example, “mobile” or “tablet”.
This tag represents either an anchor on the page. Equivalent to the current <a> tag.
Attributes available to the <a> tag are:
target (can be blank, parent, top or self)
Similar to <button> or <input type=”button”> in older versions of HTML.
Attributes available to the <html:button> tag are:
This tag encapsulates what we now have for media which are tags like <img>, <video>, <audio>, <embed>, and so on. Instead of a tag for each file type, the browser will just know how to run it by the type attribute, or will make a guess based on the file extension, or lastly, by the MIME type.
This tag creates a new form.
Attributes are method and action. The method attribute can be POST or GET (they can be lowercase too). The action attribute tells the form where to send the data.
This tag creates a new form input. Equivalent to the current <input> tag.
The full list of possible input types are:
file – (multiple)
The possible attributes on an input are:
The following are attributes that will work on any input except file inputs:
match – This is new to HTML6, give it a name of a field you want it to require a match on.
This tag lets users to select options rather than input anything. Equivalent to the current <input> tag.
The possible input types follow along with attributes that are specific to it:
select – (multiple)
calendar – (range)
meter – (range, step)
Attributes that work for all select types are:
The <form:status> tag allows you to give feedback, or a “status” update to your users. Useful for an upload progress bar or steps in a multi-page form, for example. These are similar to the <progress> and <meter> elements in HTML5.
Attributes that work for all status types are:
The <form:label> tag allows you to label inputs for the user. It links text to an input and when click will focus on the connected input. It matches the label’s for attribute to the id of any form element.
Attributes that work for the <form:label> tag are:
This tag used to submit a form. Equivalent to the current <input type=”submit”> tag.
Attributes that work for the <form:submit> tag are: