Aller au contenu principal
← 📄 HTML & the platform·Module A8 · Leçon 6
TâcheBuild a blog post. <head>: title 'Why FastAPI in 2026 | CodeMentor', description, canonical, OG block (og:title, og:image, og:url, og:type='article'), JSON-LD Article (headline, author Anna (Person), datePublished '2026-05-20', image, publisher CodeMentor with logo). <body><main><article>: <h1>Why FastAPI in 2026</h1>, <address>By <a rel='author'>Anna</a></address>, <time datetime='2026-05-20'>May 20, 2026</time>, <p>opener paragraph</p>, <h2>The argument</h2>, <p>argument paragraph</p>, <h2>Conclusion</h2>, <p>closing paragraph</p>.

Capstone 6 : article de blog avec balisage complet de l'article

250 XP18 min
Théorie

What we're building

A complete blog post page. The kind of thing that appears in the Google "rich results" SERP with thumbnail + author + date.

Required:

  • <article> wrapper.
  • Title in <h1>.
  • Author in <address> linked to author profile.
  • Published date in <time datetime>.
  • Body with proper semantic headings (h2, h3 — no skips).
  • JSON-LD Article block matching the visible content.
  • Full SEO+OG block (canonical, og:image, etc).

If you've shipped a Substack post, you know what 80% of this looks like. The 20% no one does is the matching JSON-LD.

🔒

Inscris-toi pour coder

La théorie est ouverte à tous. L'éditeur, l'aperçu live et le check se débloquent avec un essai gratuit de 7 jours — carte requise, annulable à tout moment.

S'inscrire — essai gratuit →

Les 10 premières leçons de chaque parcours sont gratuites. Pas de carte requise.

← PrécédentLeçon suivante →

Recevez une astuce Python ou web par jour — par email

Court, écrit à la main, sans spam. Désabonnement en un clic.