Add a heading that names the page My First Page.
Acceptance criteria
- 1.Add a heading that names the page My First Page.
HTML Tutorial · HTML Tags
These 10 tasks go with the HTML <title> 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: “The tag defines the title of an HTML document . It appears in the browser tab , search engine results , and bookmarks , helping users and search engines understand the page content.” .
1.Name the pageexercise · easy · 10 min
Add a heading that names the page My First Page.
Passes when: Add a heading that names the page My First Page.
2.Describe the pageexercise · easy · 10 min · practice plan
Add a paragraph explaining what the title is for.
Passes when: Add a paragraph explaining what the title is for.
3.A title and a summaryexercise · easy · 10 min · practice plan
Add a heading and a one-line summary below it.
Passes when: Add a heading and a one-line summary below it.
4.Add a page description meta tagexercise · easy · 10 min · practice plan
Give the page a description meta tag.
Passes when: Give the page a description meta tag.
5.Title, description and heading togetherexercise · medium · 10 min · practice plan
Combine a description meta tag with a matching heading.
Passes when: Combine a description meta tag with a matching heading.
6.Fix the empty headingbug fix · easy · 8 min
The page name is missing.
Passes when: The page name is missing.
7.Fix the wrong meta namebug fix · easy · 8 min · practice plan
A page summary uses the description name.
Passes when: A page summary uses the description name.
8.Fix the meta with no contentbug fix · easy · 8 min · practice plan
A description with nothing in it tells search engines nothing.
Passes when: A description with nothing in it tells search engines nothing.
9.Fix the heading that repeats the tag namebug fix · easy · 8 min · practice plan
Use the real page name instead of a placeholder.
Passes when: Use the real page name instead of a placeholder.
10.Fix the description put in a paragraphbug fix · easy · 8 min · practice plan
Search engines read the meta tag, not body text.
Passes when: Search engines read the meta tag, not body text.
Between them these tasks cover title element, Tab label and Search snippets.
Looking for a different chapter? See every practice set, or switch to the interview theory questions.