HTML5 > Structures

Article in HTML5

How to create independently distributed content in the HTML5 page?


To make content of the page independently distributable, we can use <article> tag. An <article> tag can have many sections inside or nested <article> tag as well. This is used primarily to make a content of the web page distributable or reusable.

<body>
    This is a web page that contains many articles that can be re-distributed.
    <article>
        <h1>This is about ASP.NET</h1>
        ASP.NET is a server side technology to develop web applications.
    </article>
    <article>
        <h1>This is about C#</h1>
        C# is a programming language that is supported in .NET Platoform.
    </article>
</body>

In the above code snippet, we have two article tag and both have their own <h1> tag that can be treated as article’s title respectively.

OUTPUT

 Views: 7127 | Post Order: 55



Write for us






Hosting Recommendations