Drupal website specialists.

HTML 5 advantages and examples

Posted 12/March/2010 by neubreed

HTML5 is the next major revision of HTML the last version was 4.01 released in 1997.

The new version sports new markup elements and simplified code for consistency and neater code.

Some tags have been deprecated in the new version in favour of implementing those attributes in CSS

Here is an example of what HTML5 looks like:

<!DOCTYPE html>
<html lang="en">
...
<header id="top">
   <h1>My Blog</h1>
   <p>Written in HTML5 &amp; CSS3</p>
</header>
<section id="content">
   <article>
     <header><h2>My redesign</a></h2></header>
     <p>Posted by Ryan on <time>February 12, 2010 - 2:38pm</time>.</p>
     <footer>
       <p>Filed under  <a href="https://neubreed.com.au/blog">Blog</a></p>
     </footer>
   </article>
</section>

HTML is expected to be officially released in 2022 or later. However, it is mostly supported and can be implemented before then.