Add a meta description for search results.
Acceptance criteria
- 1.Add a meta description for search results.
HTML Tutorial · Advanced HTML
These 10 tasks go with the HTML Meta Tags for SEO 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: “Meta tags are snippets of text placed inside the section of an HTML document. They provide metadata about your web page to search engines, browsers, and social media platforms . While meta tags aren’t visible to users, they play a major role in SEO (Search Engine Optimization) , social sharing , and page indexing .” .
1.Add a descriptionexercise · easy · 10 min
Add a meta description for search results.
Passes when: Add a meta description for search results.
2.Allow indexingexercise · easy · 10 min · practice plan
Add a robots meta allowing index and follow.
Passes when: Add a robots meta allowing index and follow.
3.Add an Open Graph titleexercise · easy · 10 min · practice plan
Add og:title for link previews.
Passes when: Add og:title for link previews.
4.Add an Open Graph imageexercise · easy · 10 min · practice plan
Add og:image for social sharing.
Passes when: Add og:image for social sharing.
5.Build a complete SEO headexercise · medium · 10 min · practice plan
Combine title, description and canonical.
Passes when: Combine title, description and canonical.
6.Fix the description as a keyword listbug fix · easy · 8 min
Descriptions should read as a sentence, not keywords.
Passes when: Descriptions should read as a sentence, not keywords.
7.Fix the accidental noindexbug fix · easy · 8 min · practice plan
This tells search engines to skip the page.
Passes when: This tells search engines to skip the page.
8.Fix name used for Open Graphbug fix · easy · 8 min · practice plan
Open Graph tags use property, not name.
Passes when: Open Graph tags use property, not name.
9.Fix the missing contentbug fix · easy · 8 min · practice plan
A meta tag with no content says nothing.
Passes when: A meta tag with no content says nothing.
10.Fix the obsolete keywords tagbug fix · easy · 8 min · practice plan
Search engines ignore meta keywords; use a description.
Passes when: Search engines ignore meta keywords; use a description.
Between them these tasks cover description, Open Graph and robots.
Looking for a different chapter? See every practice set, or switch to the interview theory questions.