Browse Source

Iniciando projeto Triplo-X - curso html

master
bianca-maria 3 years ago
commit
b2c9958beb
2 changed files with 100 additions and 0 deletions
  1. +34
    -0
      estilos.css
  2. +66
    -0
      index.html

+ 34
- 0
estilos.css View File

@ -0,0 +1,34 @@
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
html,body{
margin: 0;
}
*{
font-family:"Roboto", sans-serif;
}
header{
background: #EAD945;
padding: 24px 40px;
}
main{
margin: 24px 40px;
}
main table{
margin: auto;
width: 100%;
background: #edce73;
border-radius: 12px;
}
footer > p{
margin: auto;
width: 100%;
}

+ 66
- 0
index.html View File

@ -0,0 +1,66 @@
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width,initial-scale=1"/>
<title>T&iacute;tulo P&aacute;gina</title>
<link rel="stylesheet" href="estilos.css"/>
</head>
<body>
<header>
<h1>Smartphone XJK +</h1>
</header>
<main>
<table cellspacing="5" cellpadding="10" border="0">
<thead>
<tr>
<th>Ano</th>
<td>2022</td>
</tr>
</thead>
<tbody>
<tr>
<th>Processador</th>
<td>4 cores</td>
</tr>
<tr>
<th>Espessura</th>
<td>100mm</td>
</tr>
</tbody>
<tfoot>
<tr>
<th>M&eacute;dia</th>
<td>1,60</td>
</tr>
</tfoot>
</table>
<form action="salvar.html">
<h2>Registre seu interesse</h2>
<div>
<label>Nome:</label>
<input type="text" name="nome" />
</div>
<div>
<label for="campo_sobrenome">
Sobrenome:
</label>
<input id="campo_sobrenome" type="text" name="sobrenome" />
</div>
<div>
<label>
<input type="checkbox" name="autoriza" /> Receber novidades.
</label>
</div>
<button>Enviar</button>
</form>
</main>
<footer>
<p>&copy;equipe triplo X</p>
</footer>
</body>
</html>

Loading…
Cancel
Save