-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
60 lines (60 loc) · 3.35 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<!--Versão mais atualizada do html-->
<!DOCTYPE html>
<!--Linguagem do conteúdo-->
<html lang="pt-br">
<head>
<!--mapa de caracteres que estão na página, letra latinas com acento e cedilha-->
<meta charset="UTF-8">
<!--VScode microsoft, tag para funcionar corretamente no navegador edge-->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!--adapta a página aos diferentes dispositivos como celular, tablet e computadores-->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!--muda o nome da aba do site no navegador-->
<title>Energia</title>
<!--O reset.css retira os estilos do user agent do navegador-->
<link rel="stylesheet" href="reset.css">
<!--Após criar o file style.css, o navegador precisa encontrar aonde o file está-->
<link rel="stylesheet" href="style.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<!--Impotação de font do google fonts-->
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Rubik+Bubbles&display=swap" rel="stylesheet">
</head>
<!--A partir daqui é o conteúdo que aparecerá no site-->
<body>
<!--PARTE 1: Cabeçalho da página-->
<header>
<!--o src procura a imagem, pode ser um link da internet ou um arquivo dentro do repositório. O comando alt permite identificar o que tem na imagem para leitores de acessibilidade de site-->
<!--Usamos o id=" " para chamar no style.css-->
<img id="banner" src="banner.jpg" alt="banner de raios">
<nav class="menu">
<!--<ul></ul> Adiciona uma lista não ordenada-->
<ul>
<!--cada item deve ser marcado com <li></li>-->
<li> <a href="index.html">Home</a></li>
<li> <a href="principal.html">Principal</a></li>
<li> <a href="contato.html">Contato</a></li>
</ul>
</nav>
</header>
<!--PARTE 2. conteúdo principal do site-->
<main>
<h1>Principal</h1>
<p id="pergunta"><strong>Qual é a origem da eletricidade?</strong></p>
<h2>Sequência</h2>
<ul>
<li class="itens">Origem</li>
<li class="itens">Atualidade</li>
<li class="itens">Um experimento chocante</li>
</ul>
<h2>A origem</h2>
<p>Deste a antiguidade os seres humanos tentam explicar a origem da eletricidade, as fontes da eletricidade eram fenômenos sem controle, como os relâmpagos. Na mitologia grega, Zeus lançava raios para punir os pecadores e arrogantes. Na Mitologia Romana esta tarefa era realizada por Júpiter.</p>
<h2>Atualidade</h2>
<p>Hoje sabemos que a energia elétrica é fabricada em centrais elétricas e em dispositivos chamados de pilhas. A eletricidade também pade ser armazenada nas baterias. Mas como isto acontece?</p>
</main>
<!--PARTE 3. Radapé-->
<footer>
<p>Rodapé</p>
</footer>
</body>
</html>