View video tutorial

HTML Article

HTML

The <article> tag provides self-contained and independent content in a web page.

HTML article tag.


Article is self-contain and independent content in a document, page or a site.

It is used in a blog post, forum post, newspaper article etc.

A document can have multiple articles.

CSS can be used to apply style to all articles.

Learning with HTML Editor "Try it Now"

You can edit the HTML code and view the result using online editor.

Example

<!DOCTYPE html>
<html>
<head>
    <title>HTML Article tag Example</title>
    <meta charset="utf-8" />
    <style>
        p{
            background-color: #60606090;
            border-radius: 10px;
            padding:10px;
        }
        p:hover{
            background-color: #909090;
        }
    </style>
</head>
<body>
    <h2>HTML Article tag Example</h2>
<article>
      <h2>What Is HTML</h2>
      <p>HTML (Hypertext Markup Language) is a computer language that creates most web pages and online applications.A hypertext is a text that is used to refer to other parts of the text, while a markup language is a series of symbols that the web server calls the style and structure of a document.</p>
</article>
</body>
</html>
Try it Now »

Click on the "Try it Now" button to see how it works.