HTML aside: Main Tips
- HTML
<aside>
contains information which is not directly related to the main purpose or idea of a web page. <aside>
in HTML can include author details, explanations of definitions, related information, ads, etc.- In HTML5,
<aside>
is one of the new elements.
Using aside
HTML <aside>
separates information which is not directly related or vital to the main article or web page. It is possible to isolate such additional content in call-out boxes or sidebars.
<aside>
<h4>Lake</h4>
<p>Oxford lake is a lake in the state.</p>
</aside>
The example above demonstrated the usage of <aside>
tag in HTML without any styling features. The following example shows how the content in <aside>
can be customized with CSS:
<aside>
<p>Many movies and graphic novels have been based on this Greek hero.</p>
</aside>