Loading...
HTML <article> Tag

HTML <article> Tag

In this tutorial, we will learn about article tag in HTML with the help of examples.


<article> Tag

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

Syntax

<article>....</article>

Example

<!DOCTYPE html>
<html>
  <head>
    <title>Article Tag</title>
  </head>
  <body>
    <article>
      <h2>PHP</h2>
      <p>PHP is PHP Hypertext Preprocessor.</p>
    </article>
  </body>
</html>

Output

PHP

PHP is PHP Hypertext Preprocessor.


Global Attribute

Article Tag support all the global attributes of HTML.


Event Attribute

Article Tag support all the event attributes of HTML.


Next Tutorial

We hope that this tutorial helped you develop better understanding of the concept of Article tag in HTML.

Keep Learning : )

In the next tutorial, you'll learn about HTML aside Tag.

- Related Topics