The <aside> tag use to relate aside content to the surrounding content.The <aside> tag includes in HTML5 tags.It is easy HTML Tag that you can understand by a simple example.
The following example shows how to an aside is used to mark up background material on Australia in a much longer news story.

e.g.

<aside>
<h1>Australia</h1>
<p>The largest country in Oceania, the largest country without land borders,
and the largest country wholly in the Southern Hemisphere.</p>
</aside>

Result:-


You can get better meaning of aside tag by knowing how to use an aside tag to mark up a pull quote in a longer article.

e.g.

<p>I'm
paid to do my hobby.</p>
<aside>
<q> People ask me what I do for fun when I'm not at work. so I never
know what to answer. </q>
</aside>


Result:-

I'm paid to do my hobby.



Conclusion:- When we want to relate aside content to the surrounding content,we use <aside> tag.

0 comments:

Post a Comment