Rain.
Periods of rain.
Heavy rain.
<article>
TagThe <article>
element is a semantic HTML5
tag used to represent a self-contained piece of content that can be distributed and reused independently. It is ideal for content that can stand alone, such as a blog post, news article, or user comment.
<article>
Article content goes here.
</article>
<article>
DemoRain.
Periods of rain.
Heavy rain.
<article>
<h1>Weather Forecast for Seattle</h1>
<article>
<h2>03 March 2018</h2>
<p>Rain.</p>
</article>
<article>
<h2>04 March 2018</h2>
<p>Periods of rain.</p>
</article>
<article>
<h2>05 March 2018</h2>
<p>Heavy rain.</p>
</article>
</article>
<article>
element does not have any special rendering in a browser by default. However, you can apply custom styles to it using CSS (as shown in the example below).The <article>
tag is used to define content that is independent and self-contained.
An article should be meaningful on its own and should be shareable without depending on the rest of the webpage.
Common examples of <article>
usage include:
<article>
tag does not have any default styling in web browsers, but CSS can be used to customize its appearance.By default, most web browsers apply the following styles to the <article>
element:
article {
display: block;
}
<body>
<nav>
<section>
<aside>
<hgroup>
<header>
<footer>
<address>
The <article>
tag is essential for structuring self-contained, reusable content that can stand alone, such as blog posts or news articles. It enhances content accessibility and shareability, making it ideal for independent pieces of information. While it has no default styling, it is a flexible element that can be customized with CSS.