Can use main tag inside section and aside tag?

Can use main tag inside section and aside tag?
0

#1

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

Thanks


#2

Here you go,
https://www.w3schools.com/tags/tag_main.asp and this
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/main


#3

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>
<div class="main" >
  <!-- main content goes here -->
</div>
<div class="footer">
  <!-- footer content goes here -->
</div>

but preferably is to use

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