HTML - <article> Tag


Advertisements


Description

The HTML <article> tag is used in a blog post, forum post, newspaper article etc. It specifies self-contained composition in a site, document, page or application.

Example

Live Demo
<!DOCTYPE html>
<html>

   <head>
      <title>HTML Article Tag</title>
   </head>

   <body>
      <article>
         <h2>PHP</h2> 
         <p>PHP is PHP Hypertext Preprocessor</p>
      </article>
   </body>

</html>

This will produce the following result −

Global Attributes

This tag supports all the global attributes described in HTML Attribute Reference

Event Attributes

This tag supports all the event attributes described in HTML Events Reference

Browser Support

Chrome Firefox IE Opera Safari Android
Yes Yes Yes Yes Yes Yes

html_tags_reference.htm

Advertisements