Due to some circumstances, this blog is now up for sale, for more enquires contact: Plushista@gmail.com
RealcomBiz
Pin It

The Expected Specifications of HTML6

by Durodola Ridwan | Friday, October 31, 2014 | 58 Comments

HTML5 has most definitely proven to be a transformational platform, giving abundant room to web developers to spread their wings (it rather has given them some blockbuster wings).
With its elements like <header>, <menu>, <nav>, <menuitem> and so on, it has given a new dimension to how developers go about their job of creating web apps of the highest order.
But just when you thought that HTML is going to take some time before it swings something new at us, bam, it's right here. Now HTML6 hasn't been launched per se, but the specs are well and truly in.



Delving a Little Deeper into HTML6

In its bare bones, HTML6 is composed of the standard HTML and namespaces that are structured on the XML. This is apparently a very unique combination that equips developers with a host of capabilities.

<!DOCTYPE html>
<html:html>
    <html:head>
        <html:title>HTML6 Code Snippet</html:title>
        <html:meta type="title" value="Page Title">
        <html:meta type="description" value="We present an HTML code sample with namespaces">
        <html:link src="css/main.css" title="Main Styles" type="text/css">
        <html:link src="js/main.js" title="Main Script" type="text/javascript">
    </html:head>
    <html:body>
        <header>
            <logo>
                <html:media type="image" src="images/logo.png">
            </logo>
            <nav>
               <html:a href="/bus">bus</a>
               <html:a href="/train">Train</a>
               <html:a href="/plane">Plane</a>
            </nav>
        </header>
        <content>
            <article>
                <h1>Here is the article head</h1>
                <h2>Here is the article sub head</h2>
                <p>[...]</p>
                <p>[...]</p>
            </article>
            <article>
                <h1>Some fun!</h1>
                <h2>Look closely at the media elements</h2>
                <p>[...]</p>
                <html:media type="video" src="vids/moving-bus.mp4" autostart controls>
                <p>What a slow bus.</p>
            </article>
        </content>
        <footer>
            <copyright>This site is &copy; to John William</copyright>
        </footer>
    </html:body>
</html:html>

What's noticeable in this code are the peculiar <html:x> tags. Most essentially, these are the namespace elements and are responsible for setting off the browser events. <html:title>, for instance, helps you alter the title of the browser.
The elements in the code can be used by the developer for a host of development purposes and these bear no use for the browser at all. You can find various hooks here.


Then You Have the APIs

There are tags in APIs and they have namespaces:

<html:html>

And using the same you can create a new HTML document:

<!DOCTYPE html>
<html:html>
  <!-- rest of HTML would go here -->
</html:html>

We then have the <html:head> that basically helps us with creating the head of HTML but it comprises of data that is not visible. What it does is that it fetches the data and also all the scripts that are needed for the display of content. And we are here talking about stuff like CSS, JavaScript and so on.

<!DOCTYPE html>
<html:html>
  <html:head>
    <!-- Head content, similar to the <html:title> tag -->
  </html:head>
</html:html>

Then we have the <html:title> that is used by the browser for its tab bar and so on. Also, it helps in better search engine indexing of the website:

<!DOCTYPE html>
<html:html>
  <html:head>
    <html:title>HTML6 Spec Version 0.1</html:title>
  </html:head>
</html:html>

We then segue on to <html:meta> that is surely a transformation over the present HTML version. There can be random attributes or meta data in HTML6 and it does not depend on the meta types at all. And this can be leveraged by the developers in order to preserve content:

<!DOCTYPE html>
<html:html>
  <html:head>
    <html:title>HTML6 Spec Version 0.1</html:title>
    <html:meta type="description" value="This is an example of HTML with namespaces">
  </html:head>
</html:html>

There are noticeable difference in the <html:link> element as well. It is a useful way to create a bridge between JS, CSS, favicons, RSS and the document that is being worked upon. It is defined by these attributes:

  • charset: It is the character encoding
  • href: It provides a link to the source file
  • media: It represents the device that is being used to operate the respective item. It can either be a mobile device or a tablet
  • type: It is the MIME type of the document

<!DOCTYPE html>
<html:html>
  <html:head>
    <html:title>HTML6 Spec Version 0.1</html:title>
    <html:link src="js/main.js" title="Main Script" type="text/javascript">
  </html:head>
</html:html>

<html:media> is another noteworthy diversion from the current version. Traditionally, we expect tags like <img>, <video>, <audio>, <embed>, etc with media. With HTML6, there is no need for tag for each file type. The type attribute will be made use of:

<!DOCTYPE html>
<html:html>
  <html:head>
    <html:title>HTML6 Spec Version 0.1</html:title>
  </html:head>
  <html:body>
    <!-- Image -->
    <html:media src="images/logo.jpg" type="image">
    <!-- Video, shows you don't "need" a type -->
    <html:media src="videos/cute-cat.mov">
    <!-- Some made up format, browser will ignore if it doesn't know it -->
    <html:media src="misc/example.abc" type="abc">
  </html:body>
</html:html>

HTML6 also introduces new changes with <form:input>. A new form input is initiated with this and how it is different from the current version that any form input which has a scope for a text entry is considered in input. To get more idea about the types of inputs, you can refer to the following list:

  • text
  • email
  • url
  • tel
  • search
  • number
  • datetime
  • date
  • month
  • week
  • time
  • datetime-local
  • textarea
  • password
  • file - (multiple)

The probable attributes are:

  • name
  • disabled
  • readonly
  • placeholder
  • autofocus
  • required
  • novalidate

And for those who wish to know how they can be implemented, here is a piece of code for your consideration and clarity:

<!DOCTYPE html>
<html:html>
  <html:head>
    <html:title>HTML6 Spec Version 0.1</html:title>
  </html:head>
  <html:body>
    <form:form method="post" action="/sendmail">
      <!-- Simple input (defaults to text) -->
      <form:input>
      <!--  A new HTML6 match example -->
      <form:input type="password" name="user_password">
      <form:input type="password" match="user_password">
      <!-- Advanced example -->
      <form:input type="email" placeholder="user@site.com" autofocus required>
    </form:form>
  </html:body>
</html:html>

<form:select> is a way for user to choose something from the available options. Again, the possible input types are:

  • select - (multiple)
  • color
  • calendar - (range)
  • meter - (range, step)

Attributes that work for all select types are:

  • name
  • readonly
  • disabled
  • required
  • autofocus

That's how we use them:

<!DOCTYPE html>
<html:html>
  <html:head>
    <html:title>HTML6 Spec Version 0.1</html:title>
  </html:head>
  <html:body>
    <form:form method="post" action="/scheduler">
      <!-- Normal select -->
      <html:select type="select" name="favorite_color">
      <!-- Calendar example -->
      <html:select type="calendar" name="the_calendar" range="10/10/10-10/10/11">
    </form:form>
  </html:body>
</html:html>

HTML6 is surely bringing along a pack of delights. Just make sure you tuck them in.




Ben Wilson has been into WordPress from last 5 years. His front end knowledge is creating HTML to Wordpress friendly websites. He is master in developing and customizing WordPress websites.



Go Social:

Subscribe For Free Updates!

*Please confirm the email sent to your inbox after clicking "Sign Up!".

58 comments : Post Yours! Read Comment Policy ▼
PLEASE NOTE:
We have Zero Tolerance to Spam. Chessy Comments and Comments with Links will be deleted immediately upon our review.

  1. Thank you for this tutorial.its really informative tutorial quinequi

    ReplyDelete
  2. Not only to read need to spreed every one.sarapresswedlog

    ReplyDelete
  3. Thank you for this guidance.its really informative for all. tonarinookusama

    ReplyDelete
  4. Thank you for this guidance.its really informative for all rondavirtualdenegocios

    ReplyDelete
  5. Keep posting the articles,useful to every one.panafricanminerals

    ReplyDelete
  6. The information which you people are given are really superb.
    floridarentalshub

    ReplyDelete
  7. Thank you for this tutorial.its really informative tutorial.jogadoresdomundo

    ReplyDelete
  8. The information which you people are given are really superb.megagfx-vovass

    ReplyDelete
  9. all the words in simple way every one should understand easily.cartografia-gps

    ReplyDelete
  10. Those post in the blog are very useful millseteam

    ReplyDelete
  11. What a good suggestion posted by the peoples.gallery605

    ReplyDelete
  12. The information which you people are given are really superb..!!!kilotipo

    ReplyDelete
  13. The information which you people are given are really superb..!!!kitket

    ReplyDelete
  14. all the words in simple way every one should understand easily.bruinatheists

    ReplyDelete
  15. Nice post all information are useful to real life.mediacenterkopukm

    ReplyDelete
  16. Must be appreciated for the article.dohong

    ReplyDelete
  17. Not only to read need to spreed every one.kominka-doutou

    ReplyDelete
  18. Its very useful if every one should follow this.snackbaridila

    ReplyDelete
  19. When should we expect it to release though?

    ReplyDelete
  20. All the best blogs that is very useful for keeping me share the ideas
    of the future as well this is really what I was looking for, and I am
    very happy to come here. Thank you very much
    earn to die play
    earn to die
    earn to die 3
    Hi! I’ve been reading your blog for a while now and finally got the
    earn to die 4
    courage to go ahead and give youu a shout out from
    earn to die 6
    Austin Texas! Just wanted to tell
    earn to die 5
    you keep up the fantastic work!my weblog
    age of war
    Hi! I’ve been reading your blog for a while now and finally got the
    happy wheels
    strike force heroes
    slither io
    slitherio

    ReplyDelete
  21. All the best blogs that is very useful for keeping me share the ideas
    of the future as well this is really what I was looking for, and I am
    very happy to come here. Thank you very much
    earn to die
    earn to die 2
    earn to die 3
    Hi! I’ve been reading your blog for a while now and finally got the
    earn to die 4
    courage to go ahead and give youu a shout out from
    earn to die 6
    Austin Texas! Just wanted to tell
    earn to die 5
    Hi! I’ve been reading your blog for a while now and finally got the
    happy wheels
    strike force heroes
    slitherio
    you keep up the fantastic work!my weblog
    age of war
    earn to die 5
    good game empire

    ReplyDelete
  22. Excellent post!!!. The strategy you have posted on this technology helped me to get into the next level and had lot of information in it.
    Node JS training in chennai | Node JS training institute in chennai

    ReplyDelete
  23. Toll free Support Numbers for gmail, hotmail and printes.
    imo beta apk

    ReplyDelete
  24. nice! thank you so much! Thank you for sharing. Your blog posts are more interesting and impressive. I think there are many people like and visit it regularly, including me.
    192.168.1.1

    ReplyDelete
  25. iPhone have a line of smartphones designed and marketed by Apple Inc.They run Apple's iOS mobile operating system.The most recent iPhone model is the iPhone 7,Now to use Iphone 7 without any Problem and restrictions imposed by Iphone's IOS.
    You can Download iPhone 7 Jailbreak from CydiaNerd.

    ReplyDelete
  26. I not know HTML 5 and HTML 6 but i will try to learn first HTML5 thanks!!
    irctc tatkal booking
    irctc tatkal
    tatkal booking

    ReplyDelete
  27. اهم شركات كشف تسربات المياه بالدمام كذلك معرض اهم شركة مكافحة حشرات بالدمام والخبر والجبيل والخبر والاحساء والقطيف كذكل شركة تنظيف خزانات بجدة وتنظيف بجدة ومكافحة الحشرات بالخبر وكشف تسربات المياه بالجبيل والقطيف والخبر والدمام
    شركة تنظيف خزانات بجدة
    شركة مكافحة حشرات بالدمام
    شركة كشف تسربات المياه بالدمام

    ReplyDelete
  28. اهم شركات نقل العفش والاثاث بالدمام والخبر والجبيل اولقطيف والاحساء والرياض وجدة ومكة المدينة المنورة والخرج والطائف وخميس مشيط وبجدة افضل شركة نقل عفش بجدة نعرضها مجموعة الفا لنقل العفش بمكة والخرج والقصيم والطائف وتبوك وخميس مشيط ونجران وجيزان وبريدة والمدينة المنورة وينبع افضل شركات نقل الاثاث بالجبيل والطائف وخميس مشيط وبريدة وعنيزو وابها ونجران المدينة وينبع تبوك والقصيم الخرج حفر الباطن والظهران
    شركة نقل عفش بالرياض
    شركة نقل عفش بالطائف
    شركة نقل عفش بالدمام
    شركة نقل عفش بجدة
    شركة نقل عفش بمكة
    شركة نقل عفش بالمدينة المنورة
    شركة نقل عفش بينبع
    شركة نقل عفش بالخرج
    شركة نقل عفش بالقصيم

    ReplyDelete
  29. A child asked God: "If everything was written in fate so why should the convention?".
    Friv 2 | Not Blocked At Schools | Yepi 2 | Unblocked Games

    ReplyDelete

About Me

My Photo
Durodola Ridwan is a Professional blogger, SEO Consultant, Certified Web developer/designer and founder of www.realcombiz.com. He love writing about Blogging tips, SEO, and play around with codes. You can connect with him on facebook, twitter @realcombiz, and Google+.

Recent Posts

Let's Connect

Site Links

Copyright © 2014 RealcomBiz. All Rights Reserved.
Powered by Blogger