Mostly the HTML5's feature set involves JavaScript APIs which makes it easier to develop interactive web pages but there are a few of new elements that allow you extra semantics in your conventional Web 1.0 pages.The HTML5 is the new standard for HTML, XHTML, and the HTML DOM.


HTML 5, when used as plain HTML. It doesn’t need a we can write at the top of your document.

HTML5 Markup Elements

Below is mentioned almost mostly used Markup Elements.


Syntax of article

<article>This is my first article. </article>
 Read More>>

Syntax of aside

The aside tag is used to represent content which is related to the surrounding content within an article or web page, but could be still stand alone in its own right. This type of content is represented in sidebars.

<aside class="footer-LHS">
       <p>Copyright © 2011 exple. All Rights Reserved.</p>
Read More>>

Syntax of audio

<audio src="/music/track1.wav">
<p>The browser does not support the audio element.</p>

The HTML audio tag is used to specify audio on an HTML document.

Syntax of Command

A button,a radiobutton,a checkbox.

Syntax of details

  <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</p>

Syntax of summary


Syntax of figure

<figcaption>JavaScript Alert Box.</figcaption>

The markup document may look like the below structure:-

      <h1>This is the heading in HTML5</h1>
      <p>This is a paragraph in HTML5</p>
       <li><a href="/Menu-Tab1.html">Menu-Tab1</a></li>
       <li><a href="/Menu-Tab2.html">Menu-Tab2</a></li>
       <li><a href="/Menu-Tab3.html">Menu-Tab3</a></li>
       <li><a href="/Menu-Tab4.html">Menu-Tab4</a></li>
    <h1>Chapter 1: The Period</h1>
      <p>It was the best of times, it was the worst of times,it was the age of wisdom, it was the age of
foolishness,it was the epoch of belief, it was the epoch of incredulity,it was the season of Light, it was the season of Darkness,

      <li><a href="/2007/09/">September 2007</a></li>
      <li><a href="/2007/08/">August 2007</a></li>
      <li><a href="/2007/07/">July 2007</a></li>
  <footer>© 2011 Example of HTML5 Inc.</footer>

Few Web Applications which are supported by HTML5 are mentioned below:-

1)Post Message
2)Local Storage
4)Offline Applications
5)Session Storage
6)Query Selector
7)Web Database

HTML5 Form New Input Types:-   

    Date pickers (date, month, week, time, datetime, datetime-local)

Web Storage by using HTML5

By using HTML5 you  can store data :-

1)LocalStorage -
  In local storage it stores data with no time limit.

<script type="text/javascript">

Read More>>

2)SessionStorage -
  In Session storage it stores data for one session.

Example you can try it
 Read More>>

No comments:

Post a Comment