-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Foi um desafio tranquilo, só tive um pouco de dificuldade com aquela parte de "Notas" dividida em "Nota 1" e "Nota 2".
- Loading branch information
Showing
1 changed file
with
111 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,111 @@ | ||
<!DOCTYPE html> | ||
<html lang="pt-br"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Tabela Desafio 14</title> | ||
<style> | ||
|
||
body { | ||
font-family: Arial, Helvetica, sans-serif; | ||
} | ||
|
||
h1 { | ||
text-align: center; | ||
} | ||
|
||
table { | ||
border-collapse: collapse; | ||
margin: auto; | ||
} | ||
|
||
td, th { | ||
border: 1px solid black; | ||
padding: 10px; | ||
} | ||
|
||
caption { | ||
padding: 10px; | ||
font-size: 1.5em; | ||
font-weight: bold; | ||
} | ||
|
||
thead { | ||
background-color: gray; | ||
color: white; | ||
} | ||
|
||
.ext { | ||
text-align: left; | ||
color: white; | ||
background-color: gray; | ||
} | ||
|
||
</style> | ||
</head> | ||
<body> | ||
<h1>Desafio 14</h1> | ||
<table> | ||
<thead> | ||
<tr> | ||
<th scope="col" rowspan="2">Área</th> | ||
<th scope="col" rowspan="2">Disciplinas</th> | ||
<th scope="colgroup" colspan="2">Notas</th> | ||
<th scope="col" rowspan="2">Média</th> | ||
</tr> | ||
<tr> | ||
<th scope="col">Nota 1</th> | ||
<th scope="col">Nota 2</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<th rowspan="4" scope="rowgroup">Exatas</th> | ||
<td>Matemática</td> | ||
<td>0.0</td> | ||
<td>0.0</td> | ||
<td>0.0</td> | ||
</tr> | ||
<tr> | ||
<td>Física</td> | ||
<td>0.0</td> | ||
<td>0.0</td> | ||
<td>0.0</td> | ||
</tr> | ||
<tr> | ||
<td>Química</td> | ||
<td>0.0</td> | ||
<td>0.0</td> | ||
<td>0.0</td> | ||
</tr> | ||
<tr> | ||
<td>Biologia</td> | ||
<td>0.0</td> | ||
<td>0.0</td> | ||
<td>0.0</td> | ||
</tr> | ||
<tr> | ||
<th scope="row" colspan="4" class="ext">Média de Exatas</th> | ||
<td class="ext">0.0</td> | ||
</tr> | ||
<tr> | ||
<th rowspan="2" scope="rowgroup">Humanas</th> | ||
<td>História</td> | ||
<td>0.0</td> | ||
<td>0.0</td> | ||
<td>0.0</td> | ||
</tr> | ||
<tr> | ||
<td>Geografia</td> | ||
<td>0.0</td> | ||
<td>0.0</td> | ||
<td>0.0</td> | ||
</tr> | ||
<tr> | ||
<th scope="row" colspan="4" class="ext">Média de Humanas</th> | ||
<td class="ext">0.0</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</body> | ||
</html> |