Skip to content

W3schools

Subscribe Youtube For Video Tutorials
  • Academics
    • Physics
    • Chemistry
    • Math
    • Biology
    • English
    • Hindi
  • Tutorials
    • Quartz scheduler
    • Log4j
    • JUnit
    • Java Mail
    • Java Generics
    • JAXB
    • Jsoup
    • JSON
    • XML Parser
    • Data structure
  • Java
    • Java
    • Collection framework
    • Java date time api
    • Java regex
    • Design patterns
  • Android
  • Servlet
    • JSP
  • Spring
    • Spring
    • Spring AOP
    • Spring DI
    • Spring MVC
    • Spring spel
    • Spring boot
    • Spring security
  • Hibernate
  • WS
    • Stories
  • Python
  • Web
    • Ajax
    • HTML
    • CSS
    • Javascript
    • jQuery
      • jQuery UI
    • PHP
    • TypeScript
    • ReactJS
    • Backbone.js
    • Bootstrap
      • Bootstrap 4
    • XML
      • XML DOM
      • XPath
      • XQuery
      • XSD
      • XSLT
  • Angular
    • AngularJS
    • Angular 7 Tutorial
    • Angular 8 Tutorial
  • DB
    • SQL
    • SQLite
    • MongoDB
    • MySQL
    • Oracle
    • PL/SQL
    • PostgreSQL
    • PouchDB
    • DBMS
  • C
  • More
    • Q&A
    • Quiz
    • Ant
    • CPP
    • JDBC
    • JPA
    • JSF
    • JAR
    • Maven
    • WAR
    • WordPress

Article HTML

by

HTML <article> Tag

The HTML <article> element is used to specify an independent self-contained article like a big story and huge article in a document, page, application, or site and is thus used for use on Forum posts, Blog posts, News stories, and comments. The content written between the HTML article opening and closing tag is independent of other contents of the web page.

Example:

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
<!DOCTYPE html>
<html>
<body>
<article style="background-color:crimson; color: white; text-align: center;
width: 50
<p>HELLO WORLD!! Today is a great day. Why not learn something new with us? Let us start with HTML.</p>
</article>
</body>
</html>
<!DOCTYPE html> <html> <body> <article style="background-color:crimson; color: white; text-align: center; width: 50 <p>HELLO WORLD!! Today is a great day. Why not learn something new with us? Let us start with HTML.</p> </article> </body> </html>
<!DOCTYPE html>
<html>
<body>
<article style="background-color:crimson; color: white; text-align: center; 
width: 50
<p>HELLO WORLD!! Today is a great day. Why not learn something new with us? Let us start with HTML.</p> 
</article>  
</body>
</html>

Explanation:

In the above example, we defined an independent self-contained article.

Global Attributes:

The HTML Global attributes are supported by the HTML <article> tag.

Event Attributes:

The HTML Event attributes are supported by the HTML <article> tag.

Supporting Browsers:

Chrome, IE, Firefox, Opera, and Safari.

Categories HTML Tags Article HTML, HTML Tag, Supporting Browsers for article tag HTML
Area HTML
Aside HTML
HTML Tutorial
  • HTML introduction overview
  • Text Editors in HTML
  • Building blocks of HTML
  • HTML Tags
  • Attributes in HTML
  • Formatting tags in HTML
  • HTML Elements
  • Paragraph tag in HTML
  • Phrase tags in HTML
  • Anchor tag in HTML
  • Image tag in HTML
  • Table tags in HTML
  • List tags in HTML
  • Ordered List in HTML
  • Description List in HTML
  • Form Tags in HTML
  • HTML with CSS
  • HTML Classes
  • HTML ID Attribute
  • HTML Javascript
  • HTML Iframes
  • HTML Comments
  • HTML Head
  • HTML File Path
  • HTML Layouts
  • HTML Layout Techniques
  • HTML Responsive
  • HTML Computer code
  • HTML Entities
  • HTML Symbols
  • HTML Charset
  • HTML URL Encode
  • HTML Global Attributes
  • HTML Event Attributes
  • HTML Tags List
  • DOCTYPE HTML
  • Anchor HTML
  • Abbreviation HTML
  • Acronym HTML
  • Address HTML
  • Applet HTML
  • Area HTML
  • Article HTML
  • Aside HTML
  • Audio HTML
  • Bold HTML
  • Base HTML
  • Basefont HTML
  • BDI HTML
  • BDO HTML
  • BIG HTML
  • Blockquote HTML
  • Body HTML
  • BR HTML
  • Button HTML
  • Canvas HTML
  • Caption HTML
  • Center HTML
  • Cite HTML
  • Code HTML
  • Col HTML
  • Colgroup HTML
  • Data HTML
  • Datalist HTML
  • DD HTML
  • Del HTML
  • Details HTML
  • DFN HTML
  • Dialog HTML
  • Dir HTML
  • Div HTML
  • DL HTML
  • DT HTML
  • EM HTML
  • Embed HTML
  • Fieldset HTML
  • Figcaption HTML
  • Figure HTML
  • Font HTML
  • Footer HTML
  • Form HTML
  • Frame HTML
  • Frameset HTML
  • h1, h2, h3, h4, h5, h6 HTML
  • Head HTML
  • Header HTML
  • HR HTML
  • Html tag in HTML
  • i | Italic html
  • iframe HTML
  • img HTML
  • Input HTML
  • Ins HTML
  • isindex HTML
  • kbd HTML
  • Label HTML
  • Legend HTML
  • li HTML
  • link HTML
  • Main HTML
  • Map HTML
  • Mark HTML
  • Marquee HTML
  • Menu HTML
  • Meta HTML
  • Meter HTML
  • Nav HTML
  • Noframes HTML
  • Noscript HTML
  • OL HTML
  • Optgroup HTML
  • Option HTML
  • Output HTML
  • P | paragraph HTML
  • Object HTML
  • Param HTML
  • Picture HTML
  • Svg HTML
  • Table HTML
  • Tbody HTML
  • Tfoot HTML
  • thead HTML
  • td HTML
  • th HTML
  • tr HTML
  • title HTML
  • time HTML
  • template HTML
  • textarea HTML
  • track HTML
  • tt HTML
  • u | underline HTML
  • ul HTML
  • var HTML
  • video HTML
  • wbr HTML
  • User Manual HTML5
  • HTML5 Tags
  • HTML5 New Elements
  • HTML Google Maps
  • HTML5 Semantics
  • HTML5 Migration
  • HTML Drag and Drop
  • HTML5 Geolocation
  • HTML Web Storage
  • HTML5 Web Workers
  • HTML5 Server-Sent Event
  • HTML Color Names

The maximum number of views of this element is reached.
Please contact the webmaster to enable unlimited views.

The maximum number of views of this element is reached.
Please contact the webmaster to enable unlimited views.

The maximum number of views of this element is reached.
Please contact the webmaster to enable unlimited views.

© 2025 W3schools • Built with GeneratePress