Skip to content
Click Here to get a free report on how to make your website faster
RSS
HTML Aside Tag Explained

By

Raqueebuddin Aziz

June 28, 2023

Freelance Web Designer & Developer

HTML Aside Tag Explained

Let’s see how to use the aside tag to add secondary content to your webpages in a SEO friendly way.

Aside doesn’t mean only sidebar content

The tag name aside is used to add a secondary content to your webpages, it’s not necessary for it to be a sidebar, it can be content adjacent to the main topic, an advertisement, or fun fact related to the main content sprinkled into your blog post.

The aside tag will not apply any styling, you are free to style it as a sidebar or a fun facts box or an advert etc.

Example - Fun Facts

<div style="display: flex; flex-direction: column; gap: 1.5rem">
	<main>Lobo is the main man</main>
	<aside style="padding: 1.5rem; background: black; color: white">
		Fun Fact: Lobo was meant to be a wolverine parody but it became so popular that DC decided to
		make him a mainstay character
	</aside>
</div>
Lobo is the main man

Example - Sidebar

<div style="display: grid; grid-template-columns: 1fr 200px">
	<main>Lobo is the main man</main>
	<aside>
		<h4>Other Characters</h4>
		<ul>
			<li><a href="/superman">Superman</a></li>
			<li><a href="/batman">Batman</a></li>
		</ul>
	</aside>
</div>
Lobo is the main man

Example - Advertisement

<div style="display: flex; flex-direction: column; gap: 1.5rem">
	<main>Lobo is the main man</main>
	<aside style="padding: 1.5rem; background: #ca8a04; color: white">
		Buy the all new Lobo plushy
	</aside>
</div>
Lobo is the main man

SEO Benefits

By marking secondary content with aside tag, search engines like google might choose to directly display it in the search results depending on the search. Which could lead to more clicks and then higher ranking on the search engine.

Conclusion

There it is, now you have one more SEO trick under your web utility belt.

Leave a comment down below if you have any questions!

Tweet Share on LinkedIN Post on Reddit

Looking for a dev to help build an MVP for your tech startup?

Reach out to me.

Contact

We use cookies to enhance your browsing experience and analyze website traffic. By continuing to use our website, you consent to the use of cookies in accordance with our Privacy Policy.

Privacy Policy