Home Tutorial Html Html5 Article tag in HTML5, Define article <article> tag in HTML5.

 
 

Share on Google+Share on Google+
Article tag in HTML5, Define article <article> tag in HTML5.
Posted on: August 31, 2010 at 12:00 AM
Advertisement
In this section, you will learn about article tag of HTML5.

Article tag in HTML5, Define article <article> tag in HTML5.

In this tutorial, we will introduce you to the <article> article tag of HTML5. This tag is used to insert the article at current page. The text inside the article tag is independent from referenced document, blog. Content of article tag displays on browser but the content of comment tag does not.

Declaration Syntax :

Declaration syntax of article tag in Html5.

                          <article>Content of article. </article>

Example of<article> article in HTML5:

Code:

Article.html

<!Doctype HTML>
<html>
<head>
<title>Example of article tag.</title>
</head>
<body>
<p><b>Example of article <article> tag in HTML5.</b></p>
<article>
<b>
<abbr title="Information Technology" >IT</abbr> compamy </b>
<p>&nbsp;<a 
href=
"http://www.roseindia.net/businesssolutions/aboutroseindia.shtml"
target="_parent">
RoseIndia.net</a> is global services company that understands 
businesses and aims to deliver value to its customers through 
its software solutions and services. </p>
</article>
</body>
</html>

Output:

Note: See the browser compatible page for successfully rendering the program.

Download this code

Difference Between HTML5 and HTML4.01:

Article <article > is new in HTML5. It is not available in HTML401.

Advertisement

Related Tags for Article tag in HTML5, Define article <article> tag in HTML5.:


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: August 31, 2010

Recommend the tutorial

Advertisements Advertisements
 

 

 

DMCA.com