Can use main tag inside section and aside tag?

I mean there a lot of tags. And for example where is practical to use the main tag? include aside and section?


Here you go, and this

1 Like

As @Sujith3021 pointed out <main> its just a semanatic html5 tag but no one stops you to use a structure like:

<div class="header">
  <!-- header structure goes here -->
<div class="main" >
  <!-- main content goes here -->
<div class="footer">
  <!-- footer content goes here -->

but preferably is to use

<header>my header</header>
<main>my main content</main>
<footer>My footer</footer>
1 Like