HTML5 is a cooperation between W3C (World Wide Web Consortium) and WHATWG (Web Hypertext Application Technology Working Group) and it will be the new standard for web design. HTML5 is still under development although most modern browsers support “some” HTML5.

The new features are based on HTML, CSS, DOM, and JavaScript and reduce the need for external plugins (like Flash). It will give Better error handling and use markup to replace scripting. HTML5 will be device independent and the development should be visible to the public.

New Features

  • The canvas element for drawing with vector graphics (SVG)
  • The video and audio elements for media playback without the need for plugins
  • Better support for local offline storage, browser cache optimisation
  • New form controls, like calendar, date, time, email, url, search and GPS

New content specific elements

<!DOCTYPE html>
<html lang=”en”>
<head>
<title>HTML 5</title>
<link href=”styles.css” rel=”stylesheet” type=”text/css”>
</head>
<body>
<wrapper>
<header>
<h1>Title</h1>
<nav>
<ul>
<li><a href=”#”>Link</a>
<li><a href=”#”>Link</a>
<li><a href=”#”>Link</a>
</ul>
</nav>
</header>
<section>
<article>
<header>
<h2>Post Title</h2>
</header>
<div>
<p>Post text here</p>
<aside>
<figure></figure>
</aside>
</div>
<footer>
<address></address>
</footer>
</article>
</section>
<footer>Footer info here.</footer>
</wrapper>
</body>
</html>

Print this entry