Track 02 · Lesson 16 of 17Inside the browser

Track 02 · Inside the browser

SEO basics

Lesson 16 of 17· 6 min

Search engines read your HTML to decide what a page is about and how to show it. A clear title, a description and a readable URL decide whether people click. Edit the fields and watch the search result and the social share card change.

Write the back cover

Edit the fields; the checks update live

In a search result

Stride Shop · https://shop.example.com › running-shoes

Running Shoes for Men and Women | Stride Shop

Lightweight running shoes with free returns. Compare cushioning, fit and price across 120 styles, from road racers to trail shoes.

Shared on social media or in chat

Stride Shop
shop.example.comRunning Shoes for Men and Women | Stride ShopLightweight running shoes with free returns. Compare cushioning, fit and price across 120 styles, from road r…
  • Title length 45: goodGood
  • Description length 130: goodGood
  • Readable URLGood
  • Has an og:image for share previewsGood

What goes in the <head>

<title>Running Shoes for Men and Women | Stride Shop</title>
<meta name="description" content="Lightweight running shoes with free returns. Compare cushioning, fit and price across 120 styles, from road racers to trail shoes.">
<link rel="canonical" href="https://shop.example.com/running-shoes">
<meta property="og:title" content="Running Shoes for Men and Women | Stride Shop">
<meta property="og:description" content="Lightweight running shoes with free returns. Compare cushioning, fit and price across 120 styles, from road racers to trail shoes.">
<meta property="og:image" content="https://shop.example.com/og/running-shoes.jpg">

What search engines read#

  • <title>: the blue link in search results and the browser tab. Around 50–60 characters before it gets cut.
  • <meta name="description">: the grey text under the link, if Google decides to use it. Around 150–160 characters.
  • The URL: readable words like /running-shoes beat /p?id=8812.
  • Open Graph tags (og:title, og:image): what chat apps and social networks show when someone shares the link.
  • The content itself: one h1, real headings in order, and link text that says where it goes, never just "click here".

Rendering matters#

If your content only appears after JavaScript runs in the browser, search engines may index it late or poorly. That's a big part of why frameworks like Next.js render HTML on the server: the content is there in the very first response.

Check yourself

A page has the meta tag robots: noindex. What happens?