StreetDocsPlayground
StreetDocs/Build Your First Web Page/Headings and Paragraphs
html
12 minLearning in Pidgin

Headings and Paragraphs

Give your page title and story — di way Ada write about her food.

What you'll learn

  • Use h1 to h6 for headings
  • Use p for paragraphs
  • Arrange text to make sense

Before you start

  • what-is-html

Ada don get her first page, but e dey look too small. She need to talk about her food well — who she be, wetin she dey sell, and why people suppose come.

Headings — h1 to h6

Headings dey make text stand out. <h1> na di biggest heading, and e dey use for di main title. <h2>, <h3> and di rest dey smaller. Think of am like newspaper headline — di main title big, di sub-titles small.

Paragraphs — p

Paragraphs (<p>) dey hold your story. Browser go add space around each one automatically, so your page no go look like one big block.

<h1>Ada's Kitchen</h1>
<p>Welcome to Ada's Kitchen! We sell fresh, home-made food every day.</p>

Try it yourself

html
<h1>Ada's Kitchen</h1>
<h2>Today's special</h2>
<p>Jollof rice and grilled chicken.</p>

Quiz

Small check

Answer di questions below.

1. Which tag dey make di biggest heading?

2. Which tag dey hold paragraph?