Metadata, social previews and SEO
Metadata, social previews and SEO
Give every page a unique, descriptive title and concise description. Use a sensible heading hierarchy, canonical URLs when needed and social preview metadata. Search engines do not need keyword stuffing; useful content and crawlable links matter more.
Try it yourself
Change the example, run it, and explain the result in your own words. Then create one variation of your own.
Key idea
Use the example as a starting point, not something to memorize. Practise, inspect the result and make small improvements.
Code example
<title>HTML Forms | LearnHub</title>
<meta name="description" content="Learn HTML form controls and validation.">