We hadn’t even mastered HTML5 yet and W3C is already rolling out initial versions HTML6. And we are not fooling you. It is coming out, so once again it is time get our hands dirty. Forget HTML6 release date and let’s get down coding in HTML6.
HTML6 is so new that even Wikipedia doesn’t have its page yet. It is still at the absolutely initial stages but we are in a position to figure out what it is, where will it lead us and how will we be coding it. Let’s get get a quick HTML6 overview.
Just like HTML5, the new version of HTML is coming with significant code structure differences. The new version is more standardized, more similar to XML and more suited for building web apps for the future.
New Coding Structure
Image courtesy of Web Design Indonesia
CSS tricks proposed a list of suggested code additions for HTML6 a couple of years ago. W3C listened but they replied in a unique fashion. They added the mother of all those proposals. They added XML-like namespaces… and this is the most visible change in HTML6.
This changes the whole coding structure, but it standardizes it to a whole new level. Now you don’t have to ID your divs, you can use namespaces.
<div id=’container’> can now become <container>
Let’s check how these namespaces in action.
<!DOCTYPE html> <!-- Notice how <html> turns into <html:html> --> <html:html> <!-- Obviously, the <head> tag also changes, so do the rest of codes. --> <html:head> <html:title>A Look Into HTML6</html:title> <html:meta type="description" value="HTML6 namespaces example"> </html:head> <html:body> <!-- Anchor text example --> <html:a href="http://www.designzzz.com">Go to Designzzz!</html:a> <!-- Image example --> <html:media src="img/logo.jpg" type="image"> <!-- Video example. You can include any video. --> <html:media src="videos/slides.mov"> <html:button>Click Here</html:button> </html:body> </html:html>
Here’s an example of finalized code.
That’s the future of HTML attributes.
HTML6 Free Resources
I don’t know why but people have been joking around with HTML6 resources. We have already mentioned the April Fool’s day post in the beginning of the article, another guy has made an HTML6 boilerplate which is also a joke.
But not everything is a joke! Here’s free tool for testing your browser with HTML6.
I tested both my browsers. The latest version of Firefox scored 429 and the latest version of Google Chrome scored 523.
HTML6 Distributed Specification guide is another valuable resource if you want to learn the coding concepts of HTML6 in-depth.
I have observed that this distributed specification guide is being regularly updated that’s why I’m including it.
Where are heading?
Namespaces make it clear that in a few years, the HTML6 will mature into a dedicated programming specialization, and will surpass PHP, .net and such other languages in terms of functionality and complexity. So my advice is that you should start working on HTML6 immediately and make it your slave. Now is the time to do it while everyone isn’t paying attention.
That’s all I have about HTML6 at the moment. But I will keep updating you updated as W3C rolls out updates in this version of HTML.