Created
November 24, 2009 22:52
-
-
Save neves/242315 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<title>Título do Seu Site</title> | |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> | |
<link rel="stylesheet" href="global.css" /> | |
<script src="global.js"></script> | |
</head> | |
<body> | |
<h1>Título do Site</h1> | |
<h2>Título da Página</h2> | |
<h3>Título de uma seção dentro da página</h3> | |
<h4>Sub Título dentro de uma seção</h4> | |
<h5>h5 e</h5> | |
<h6>h6 são pouco utilizados</h6> | |
<p>Depois de um título, vem os parágrafos.</p> | |
<p> | |
Para formatar um texto, é possível utilizar | |
<strong>negrito</strong> | |
<em>itálico</em> | |
<u>e sublinhado</u> | |
além do <span>span</span> que é a tag genérica para formatação inline | |
(formatação de partes do texto). | |
<br /> | |
Para pula de linha, utilize o br. | |
<br /> | |
link para o <a href="http://google.com/">google</a> | |
<br /> | |
Utilizar a tag img para inserir uma imagem: | |
<img src="http://www.google.com.br/intl/pt-BR_br/images/logo.gif" /> | |
<br /> | |
Além de outros formatadores específicos como: | |
H<sub>2</sub>O e CO<sup>2</sup> | |
<address> | |
Colocar endereços dentro da tag address. | |
</address> | |
</p> | |
<div> | |
O div é a tag genérica para elementos em bloco.(é a tag mais utilizada). | |
</div> | |
<ul> | |
<li>Outra estrutura muito importante são as listas,</li> | |
<li>utilizadas para fazer menus e listar ítens.</li> | |
</ul> | |
<ol> | |
<li>A lista também pode ser ordenada,</li> | |
<li>apenas trocando a tag ul por ol.</li> | |
</ol> | |
<ul> | |
<li>A lista pode ter sub listas infinitas</li> | |
<li> | |
<ul> | |
<li>Sub Ítem 1</li> | |
<li>Sub Ítem 2</li> | |
</ul> | |
</li> | |
</ul> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment