![]() |
The An article should make sense on its own and it should be possible to distribute it independently from the rest of the site. Potential sources for the
Note: The |
Example:
HTML
<article>
<h2>Google Chrome</h2>
<p>Google Chrome is a web browser developed by Google, released in 2008. Chrome is the world's most popular web browser today!</p>
</article>
<article>
<h2>Mozilla Firefox</h2>
<p>Mozilla Firefox is an open-source web browser developed by Mozilla. Firefox has been the second most popular web browser since January, 2018.</p>
</article>
<article>
<h2>Microsoft Edge</h2>
<p>Microsoft Edge is a web browser developed by Microsoft, released in 2015. Microsoft Edge replaced Internet Explorer.</p>
</article>
Example:
HTML
<style>
.all-browsers {
margin: 0;
padding: 5px;
background-color: lightgray;
}
.all-browsers > h1, .browser {
margin: 10px;
padding: 5px;
}
.browser {
background: white;
}
.browser > h2, p {
margin: 4px;
font-size: 90%;
}
</style>
Example:
HTML
<style>
article {
display: block;
color: blue;
}
</style>
How to create HTML <article> Tag | HTML Tag |
Browser Support for HTML <article> Tag | HTML Tag |
How to Use CSS to style the <article> element: | HTML Tag |
How to edit Default CSS Settings for HTML <article> Tag | HTML Tag |
Read Full: | HTML Tag |
Category: | Web Tutorial |
Sub Category: | HTML Tag |
Uploaded by: | Admin |
Views: | 108 |
Reffered: https://www.w3schools.com/tags/tag_article.asp