Today we will see The New Structural Elements one by one..
New Structural Elements
Declaration Syntax:
New Structural Elements
- <article>
Declaration Syntax:
<article> Content of Article </article>
Example:
<!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> company </b>
<p> <a
href="http://www.carehrm.com"target="_parent">
CARE IT Solutions</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>
<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> company </b>
<p> <a
href="http://www.carehrm.com"target="_parent">
CARE IT Solutions</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:

No comments:
Post a Comment
Comment Here..