ARTICLE TAG
- Article tag is new tag in HTML5. It is used to represent the article.
- It is used for blog post,forms,newspapers,magazines etc.
- Article tag specifies self-contained composition in a site, document, page or application.
- It supports all global attributes.
SYNTAX
<!DOCTYPE html>
<html>
<head>
<title>HTML Article Tag</title>
</head>
<body>
<article>
<h2>HTML</h2>
<p>HyperText markup Language</p>
</article>
</body>
</html>
OUTPUT
HTML
Hypertext markup Language
--------------------------------------------------------------------------------------------------------------------------
Comments
Post a Comment