Last active
September 26, 2024 19:05
-
-
Save acidtone/4186780344d39f280f4d20720534737e to your computer and use it in GitHub Desktop.
<aside> element: What's it for?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <body> | |
| <main> | |
| <article> | |
| <aside><!-- related to the article --></aside> | |
| <section> | |
| <aside><!-- related to the section --></aside> | |
| <div> | |
| <aside><!-- related to the section (not to the div!) --></aside> | |
| </div> | |
| </section> | |
| </article> | |
| <aside><!-- related to the body (not to the main!) --></aside> | |
| </main> | |
| <aside> | |
| <!-- related to the body --> | |
| <aside><!-- related to the (parent) aside --></aside> | |
| </aside> | |
| <nav> | |
| <aside><!-- related to the nav --></aside> | |
| </nav> | |
| <footer> | |
| <aside><!-- related to the footer --></aside> | |
| </footer> | |
| </body> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment