Headings and paragraphs
Esta página necesita un navegador reciente (con soporte para SharedArrayBuffer). Por favor, actualiza Chrome, Edge, Firefox o Safari a la última versión.
English
Headings
- A heading is a title on your page.
- Use
<h1>for the biggest, most important heading. - Like all HTML, it comes in a pair:
<h1>...</h1>.

English
<h1>My cooking blog</h1>
<p>Welcome! Here are my favourite recipes.</p>
English
Six sizes
- There are six headings, from
<h1>down to<h6>. <h1>is the largest;<h6>is the smallest.- Use one
<h1>for the page's main title, then smaller ones for sections.

English
<h1>Biggest</h1>
<h2>Smaller</h2>
<h3>Smaller still</h3>
English
Common mistakes
- Headings run
<h1>(biggest) to<h6>— do not pick one just for its size. - A paragraph is
<p>...</p>.
English
Now you try
- A page is just headings and paragraphs stacked together.
- Build the two little tasks below.
Dificultad 1/5 · 100 monedas + un pequeño bono en el primer intento de hoy
Add a big heading that says My Blog. Use an <h1> … </h1> pair.
Dificultad 1/5 · 100 monedas + un pequeño bono en el primer intento de hoy
Make a heading About me, and under it a paragraph that says I love coding.
Dificultad 1/5 · 100 monedas + un pequeño bono en el primer intento de hoy
Under the big heading Recipes, add a smaller heading Starters with <h2>, then a paragraph Soup of the day.