`

The article tag in HTML5

Introduction:  The <article> tag is used for represent certain blocks of texts, Like articles in newspaper, article in web page, comments, etc. Its syntax is given below

<article>
Article Blocks
</article>

Now, we use <article> tag in our application. We write following code

<!DOCTYPE HTML>
<html>
<body>
<article>
<h1>Title</h1>
<p>this is article block.
</br>this is article block.
</p>
</article>
</body>
</html>

The output will look like below 
article tag in html5

Ebook Download
View all
Learn
View all