Complete the code to create a semantic header section.
<[1]>Welcome to my website</[1]>
The header tag is a semantic element used to define the header of a page or section.
Complete the code to create a non-semantic container.
<[1]>This is a container without semantic meaning.</[1]>
The div tag is a non-semantic element used as a generic container.
Fix the error in the code by replacing the non-semantic tag with a semantic one for navigation.
<[1]>Home | About | Contact</[1]>
The nav tag is semantic and used specifically for navigation links.
Fill both blanks to create a semantic article with a footer.
<[1]> <h2>My Article</h2> <p>This is the content.</p> <[2]>Written by me</[2]> </[1]>
The article tag defines independent content, and footer defines the footer of that content.
Fill all three blanks to create a semantic page layout with header, main, and footer.
<[1]> <h1>Site Title</h1> </[1]> <[2]> <p>Welcome to the main content area.</p> </[2]> <[3]> <p>Ā© 2024 My Website</p> </[3]>
The header contains introductory content, main holds the main page content, and footer contains footer information.