New in HTML5 Document Structure
HTML5
introduces is New Document Structure that makes the web
application and the web site more SEO (search Engine option) friendly.
The following are the new elements. Introduced
into HTML5 document Structure.
Article
|
Contains
Information about the website.
|
Aside
|
Contains
Information that is not relevant to the web.
|
Section
|
Contains
Information that is to be displayed in the body.
|
Nav
|
Defines
the Navigation Bar.
|
Menu
|
Contains
the navigation Bar.
|
Figure
|
Set
a Picher or table with caption.
|
Header
|
Defines
the content to be displayed in the page header.
|
Footer
|
Content
to be displayed in the page footer.
|
Sample Program:-
<! DOCTYPE html>
<html>
<head></head>
<body>
<header>
<menu>
<nav>Home | About |Contact <\nav>
</menu>
</header>
<section>
<h1> Google </h1>
<article>Special New Year offer…………</arical>
<aside>reliance fresh……….</aside>
</section>
<footer>
© Copyright 2015
</footer>
</body>
</html>
No comments:
Post a Comment