Está en la página 1de 2

Html e Css (exemplo)

Nome da página: pagina1.html

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Minha página web</title>
<link rel="stylesheet" type="text/css" href="css2.css">
</head>
<body>
<center><h1>título</h1></center>
<p style="color:yellow; font-family:times"> parágrafo 1</p>
<p>parágrafo 2</p>
<center><h1>Lista ordenada</h1></center>
<h2>aaaaaaaa</h2>
<ol>
<li>ana</li>
<li>maria</li>
<li>Joe</li>
</ol>
<center><h1>Lista desordenada</h1></center>
<ul>
<li>ana</li>
<li>maria</li>
<li>Joe</li>
</ul>
<center><table border="2"></center>
<tr>
<th>Mês</th>
<th>ano</th>
</tr>
<tr>
<td>06</td>
<td>2006</td>
</tr>
</table>
<center><a href="prólogo.html">Vá para o prólogo</a></center>
<img src="relampago.png" height="500px" width="300px">
</body>
</html>
Nome da página: css2.css

body
{
background-color:darkred;
padding:5px;
font-family:monospace;
font-size:16px;
color:white;
}
ul
{
list-style-type:square;
}
h1
{
font-size:50pt;
}

También podría gustarte