Add a heading and a paragraph.
Acceptance criteria
- 1.Add a heading and a paragraph.
HTML Tutorial · HTML Tags
These 10 tasks go with the HTML <html> Tag 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: “is the root: the one element that contains everything else on the page. It has exactly two children, and , and one attribute you should never leave off — lang .” .
1.Build the page contentexercise · easy · 10 min
Add a heading and a paragraph.
Passes when: Add a heading and a paragraph.
2.Add the landmarksexercise · easy · 10 min · practice plan
Add a header and a main region.
Passes when: Add a header and a main region.
3.Mark the language on a sectionexercise · easy · 10 min · practice plan
Give a quoted section its own language.
Passes when: Give a quoted section its own language.
4.A page with a footerexercise · easy · 10 min · practice plan
Add main content followed by a footer.
Passes when: Add main content followed by a footer.
5.A complete document bodyexercise · medium · 10 min · practice plan
Build header, main and footer in order.
Passes when: Build header, main and footer in order.
6.Fix the page with no contentbug fix · easy · 8 min
The document has nothing to show.
Passes when: The document has nothing to show.
7.Fix the missing main landmarkbug fix · easy · 8 min · practice plan
The content is not marked as the main region.
Passes when: The content is not marked as the main region.
8.Fix the missing languagebug fix · easy · 8 min · practice plan
A quotation in another language should say so.
Passes when: A quotation in another language should say so.
9.Fix the footer placed firstbug fix · easy · 8 min · practice plan
The footer closes the document.
Passes when: The footer closes the document.
10.Fix the document with no headerbug fix · easy · 8 min · practice plan
The page opens straight into its content.
Passes when: The page opens straight into its content.
Between them these tasks cover Root element, lang attribute and Document skeleton.
Looking for a different chapter? See every practice set, or switch to the interview theory questions.