Saltar para o conteúdo principal
← 📄 HTML & the platform·Módulo A6 · Lição 1
TarefaBuild the SEO basics: title 'Pricing — CodeMentor AI', meta description 'Three plans, 15 free lessons, no card to start.', canonical 'https://learnpython.academy/pricing', robots 'index, follow', viewport.

As 5 tags SEO que realmente importam

75 XP6 min
Teoria

What Google reads first

Of the ~30 meta tags floating around, only 5 consistently move the needle for indexing + ranking:

<title>Page-specific title under 60 chars | Brand</title>
<meta name="description" content="155-char value-first sentence." />
<link rel="canonical" href="https://example.com/the-real-url" />
<meta name="robots" content="index, follow" />
<meta name="viewport" content="width=device-width, initial-scale=1" />

The other 25 (keywords, author, generator, revisit-after, …) Google explicitly ignores OR uses only as weak hints.

Per-page, not site-wide

Every URL needs its own title + description. Generating these from a CMS field or a per-route component is critical. "Welcome to MyApp" on every page is a ranking killer.

robots: when to NOT index

<meta name="robots" content="noindex, follow" />     <!-- temporary pages, search results -->
<meta name="robots" content="noindex, nofollow" />   <!-- staging, admin -->
<meta name="robots" content="index, follow" />       <!-- default; rarely worth writing -->

Index any page meant for public discovery. Noindex any thin or dynamic page (search results, paginated archives beyond page 1, user-generated drafts).

What's NOT here

  • <meta name="keywords"> — Google said publicly in 2009 they ignore it. Still ignored.
  • <meta name="author"> — fine to include, doesn't help rankings.
  • <meta http-equiv="..."> — almost all replaced by real HTTP headers.
🔒

Regista-te para começar a programar

A teoria está aberta a todos. O editor, a pré-visualização e o check desbloqueiam-se com um teste gratuito de 7 dias — cartão obrigatório, cancelável a qualquer momento.

Registar — teste grátis →

As primeiras 10 lições de cada trilha são grátis. Sem cartão necessário.

← AnteriorPróxima lição →

Recebe uma dica de Python ou web por dia — por email

Curto, escrito à mão, sem spam. Cancela a subscrição num clique.