menu
Ad goes here

Saturday, 22 September 2012

A simple HTML5 Layout

The Most prominent additions in HTML 5 tags are <header>, <footer>, <aside>, <nav>, <audio> etc and it's easy to understand as listed below.
  • <header> = To define Header
  • <nav> = To define navigation
  • <aside> = For Sidebar
  • <footer> = To define footer area
<!Doctype html>  
<html lang="en">  
<head>  
<title>Your Page title</title>  
</head>  

<body>  

<!-- Define Header -->  
<header>  </header>
<!-- End Header -->  

<!-- Define Navigation/Menu -->  
<nav>  </nav>  
<!-- End Navigation -->  

<!-- Main content area -->
<section>  </section>  
<!-- End of Main content area -->

<!-- Sidebar -->  
<aside>  </aside>  
<!-- End Sidebar -->  

<!-- Footer -->  
<footer></footer>  
<!-- End of Footer --> 
 
</body>  
</html>

No comments:

Post a Comment

Books for you (Crafted with )