HTML <aside>Tag
To display the information about the main content aside from the other contents on a web page, the HTML <aside> tag is introduced in HTML5. Thus, it forms the main textual flow of a document (as defined by W3C).
Example:
<!DOCTYPE html> <html> <body> <p>HELLO WORLD!! Today is a great day. Why not learn something new with us? Let us start with HTML.</p> <aside> <h4>HTML</h4> <p>HTML stands for Hypertext Markup Language.</p> </aside> </body> </html>
Explanation:
In the above example, we used the HTML <aside> tag to display information about the main content.
Global Attributes:
The HTML Global attributes are supported by the HTML <aside> tag.
Event Attributes:
The HTML Event attributes are supported by the HTML <aside> tag.
Supporting Browsers:
Chrome, IE, Firefox, Opera, and Safari.