HTML <article> Tag
The HTML <article> element is used to specify an independent self-contained article like a big story and huge article in a document, page, application or a site and is thus used for used on Forum post, Blog post, News story and comments. The content written between the HTML article opening and closing tag is independent of other contents of the web page.
<!DOCTYPE html> <html> <body> <article style="background-color:crimson; color: white; text-align: center; width: 50%; border: 5px solid yellow; padding:20px"> <p>HELLO WORLD!! Today is a great day. Why not learn something new with us? Let us start with HTML.</p> </article> </body> </html>
In the above example, we defined an independent self-contained article.
The HTML Global attributes are supported by the HTML <article> tag.
The HTML Event attributes are supported by the HTML <article> tag.
Chrome, IE, Firefox, Opera and Safari.