A Look into HTML6
HTML is a simple web development language. It keeps on rolling new versions and has started working on its sixth revision. HTML5 the current version of HTML is considered to be one of the favoured revisions compared to all the earlier HTML versions.
Overview of HTML5-
HTML5 gave us some very exciting features like audio and video support, and offline local storage. It helped developers organize content in a more relevant manner using new tags like <article>, <section>, <header>, etc.
Understanding the concept of HTML6-
Just imagine using tags like <logo></logo> for assigning a logo to your web page, or using tag <toolbar></toolbar> and so on. Wouldn’t it be better if you could use the <div> tag without using multiple ids such as container, and rather use <container> directly. Instead of using <div id='container'> you can simply use <container>. This is where HTML6 comes in.
HTML6 is sixth version of HTML with namespaces that has structure like XML. XML namespaces will help to use the same tag without conflicting it with any other tag. HTML6 will provide us the benefit to use tags that we want.
The HTML6 tags will have the namespace html for instance <html: html> or <html: head> etc.
<! DOCTYPE html> <html:html> // this is equivalent to <html> tag written in previous HTML versions <! -- sample of HTML document -- > </html:html>
This tag is equivalent to <head> tag. Its purpose is to obtain data and scripts that adjusts how the content is displayed within the <html:body> tag.
<! DOCTYPE html> <html:html> <html:head> <!-- Main content would come here --> </html:head> </html:html>
It will help in changing the title of the HTML document, and is similar to the <title> tag used in earlier HTML versions.
<! DOCTYPE html> <html:html> <html:head> <html:title> A Look Into HTML6 </html:title> </html:head> </html:html>
This is where all your website content like text, media and others are placed.
<! DOCTYPE html>