HTML Article Tag is used to define a self-determining self limited content.
An article is what which can make sense alone and does not need any other reference for making sense.
HTML Article Tag can be used in:
Blog Posts
News
Comments in blog
In forums
Note: HTML Article Tag is new in HTML 5.
Syntax of HTML Article Tag
<article> The article content goes here.. </article>
Example of HTML Article Tag
HTML Article Tag Code | Output |
<article> <h1>SQL PLSQL and HTML Tutorial</h1> <p> TechHoney.com is one of the best ways to learn Oracle SQL PLSQL and HTML. You can find vast resources and great explanations here. </p> </article> |
TechHoney.com is one of the best ways to learn Oracle SQL PLSQL and HTML. You can find vast resources and great explanations here. |
Here in the above HTML Article Tag Code example we can see that we have mentioned the article heading in the <h1> tag and the article itself is being published in the HTML paragraph <p> tag.
HTML Article Tag supports the HTML Global Attributes and HTML Event Attributes.
HTML Article Tag Supporting Browsers
S. No. | Browser | Supported(Yes/No) |
1 | Internet Explorer | Yes (above IE 8) |
2 | Firefox | Yes |
3 | Google Chrome | Yes |
4 | Opera | Yes |
5 | Safari | Yes |