What you want to see on DotNetFunda.com ?
DotNetFunda.Com Logo
Twitter TwitterLinkedIn
YouTubeGoogle
 Online : 2432 |  Welcome, Guest!   Register  Login
 Home > Interview Questions > HTML 5 Interview Questions > What is the purpose of HTML5's Artic ...

What is the purpose of HTML5's Article tag?

Interview question and answer by: Niladri.Biswas | Posted on: 9/11/2012 | Category: HTML 5 Interview questions | Views: 611 | | Points: 40


Answer:

It is used to semantically mark the main content section or sections of a page.

An HTML5 page may contain multiple individual parts of main content. For instance, a blog website may contain a page with multiple blog posts in. In that case, each blog post would be enclosed in its own article element.

e.g.

<html>

<body>
<header>
Company Logo
<nav>
<a href="MainPage1.html">Page 1</a>
<a href="Main2.html">Page 2</a>
</nav>
</header>

<nav>
<a href="Subpage1.html">SubPage 1</a>
<a href="Subpage2.html">SubPage 2</a>
</nav>

<article>
<p>Main content section 1</p>
</article>

<article>
<p>Main content section 2</p>
</article>

<footer></footer>

</body>
</html>

Asked In: Many Interviews | Alert Moderator 
Found interesting? Add this to:


 Responses

Posted by: Pervej | Posted on: 12 Sep 2012 03:20:15 AM | Points: 10 | Alert Moderator 

below lick will help to to get something about article

http://www.interviewqsn.com/what-is-article-tag-in-html5-and-its-uses.html

>> Write Response - Respond to this post and get points

Even more ... | Submit Interview Questions and win prizes!

More Interview Questions from Niladri.Biswas

Even more ... | Submit Interview Questions and win prizes!


About Us | Contact Us | The Team | Advertise | Software Development | Write for us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you find plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 5/26/2013 5:07:21 AM