Headings and paragraphs · Títulos e parágrafos
This page needs a recent browser (with SharedArrayBuffer support). Please update Chrome, Edge, Firefox or Safari to the latest version. · Esta página precisa de um navegador recente (com suporte a SharedArrayBuffer). Por favor, atualize Chrome, Edge, Firefox ou Safari para a versão mais recente.
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>.
Português
Títulos
- Um título é um cabeçalho em sua página.
- Use
<h1>para o título maior e mais importante. - Assim como todo HTML, vem em um par:
<h1>...</h1>.
<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.
Português
Seis tamanhos
- Existem seis títulos, de
<h1>até<h6>. <h1>é o maior;<h6>é o menor.- Use um
<h1>para o título principal da página, e menores para seções.
<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>.
Português
Erros comuns
- Os títulos vão de
<h1>(maior) a<h6>— não escolha apenas pelo tamanho. - Um parágrafo é
<p>...</p>.
English
Now you try
- A page is just headings and paragraphs stacked together.
- Build the two little tasks below.
Português
Agora você tenta
- Uma página é apenas títulos e parágrafos empilhados juntos.
- Construa as duas pequenas tarefas abaixo.
Add a big heading that says My Blog. Use an <h1> … </h1> pair. · Adicione um grande título que diga Meu Blog. Use um par de <h1> … </h1>.
Make a heading About me, and under it a paragraph that says I love coding. · Faça um título Sobre mim, e abaixo dele um parágrafo que diga **Eu amo programar.**