Add a header, a main and a footer.
Acceptance criteria
- 1.Add a header, a main and a footer.
HTML Tutorial · HTML References
These 10 tasks go with the HTML5 New Tags chapter. 5 of them ask you to build something small from scratch; 5 give you code that is already broken and ask you to work out why. Set aside about 90 minutes for the whole set, though you can do them in any order.
Nothing here is marked by a person. When you press Submit, the editor checks your code against the points listed under each task and tells you straight away what passed and what didn't (you need a free account to submit). If you get stuck, there are hints, and a worked solution once you've had a go. The first 2 tasks are free; the rest are part of the practice plan.
If it's been a while since you read the chapter, here is how it starts: “HTML5 introduced several new tags to improve semantic meaning , multimedia handling , and web structure . These tags make the code more readable and help search engines and assistive technologies (like screen readers) understand the content better.” .
1.Use the new landmarksexercise · easy · 10 min
Add a header, a main and a footer.
Passes when: Add a header, a main and a footer.
2.Use an articleexercise · easy · 10 min · practice plan
Wrap a self-contained post in an article.
Passes when: Wrap a self-contained post in an article.
3.Use a figureexercise · easy · 10 min · practice plan
Add a captioned figure.
Passes when: Add a captioned figure.
4.Use a disclosureexercise · easy · 10 min · practice plan
Add a details element with a summary.
Passes when: Add a details element with a summary.
5.A modern pageexercise · medium · 10 min · practice plan
Build a page using header, main with an article, and footer.
Passes when: Build a page using header, main with an article, and footer.
6.Fix the page built from divsbug fix · easy · 8 min
HTML5 gave each region its own element.
Passes when: HTML5 gave each region its own element.
7.Fix the post in a plain divbug fix · easy · 8 min · practice plan
A self-contained post is an article.
Passes when: A self-contained post is an article.
8.Fix the caption as a paragraphbug fix · easy · 8 min · practice plan
A figure's caption has its own element.
Passes when: A figure's caption has its own element.
9.Fix the disclosure with no labelbug fix · easy · 8 min · practice plan
A details element needs a summary to open it.
Passes when: A details element needs a summary to open it.
10.Fix the article outside the main regionbug fix · easy · 8 min · practice plan
The post is the page's main content.
Passes when: The post is the page's main content.
Between them these tasks cover Sectioning elements, Media elements and Modern replacements.
Looking for a different chapter? See every practice set, or switch to the interview theory questions.