HTML Tutorial

Alinhamento
Formatação
Linhas
Listas
Tabelas
Imagens
Mapas Clicáveis
Formulários
Frames

Títulos e Subtítulos

  • Uso da tag <h> (header, heading ou cabeçalho)

Esta tag tem um atributo align cujo valor pode ser right, center ou left (default), que define o alinhamento à direita, centralizado ou à esquerda. E também um índice que vai de 1(maior importância) a 6(menor importância).  Exemplos:
<h1 align="left">Título</h1> ou simplesmente <h1>Título</h1>

Título


<h2 align="left">Título</h2> ou simplesmente <h2>Título</h2>

Título


<h3 align="left">Título</h3> ou simplesmente <h3>Título</h3>

Título


<h4 align="left">Título</h4> ou simplesmente <h4>Título</h4>

Título


<h5 align="left">Título</h5> ou simplesmente <h5>Título</h5>
Título

<h6 align="left">Título</h6> ou simplesmente <h6>Título</h6>
Título

<h1 align="center">Título</h1>

Título


<h2 align="center">Título</h2>

Título


<h3 align="center">Título</h3>

Título


<h4 align="center">Título</h4>

Título


<h5 align="center">Título</h5>
Título

<h6 align="center">Título</h6>
Título

<h1 align="right">Título</h1>

Título


<h2 align="right">Título</h2>

Título


<h3 align="right">Título</h3>

Título


<h4 align="right">Título</h4>

Título


<h5 align="right">Título</h5>
Título

<h6 align="right">Título</h6>
Título
Hosted by www.Geocities.ws

1