Article tag in HTML5, Define article <article> tag in HTML5.
In this section, you will learn about article tag of HTML5.
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> <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.