Professional Documents
Culture Documents
-- Informa a
versão do doc. como html5 -->
<html> <!-- Tag de
abertura html -->
<head> <!-- Metadatas
do doc. html -->
<title>Titulo</title> <!-- Titulo do
html, mostrado na aba/navegador -->
<meta charset="utf-8"> <!--
Codificação de caracteres utf-8 - SEO-->
<meta name="author" content="Chris Mills"> <!-- Metadata
custimizado com informações - SEO-->
<meta name="description" content="A Área de Aprendizagem do
MDN tem como objetivo proporcionar novatos completos à Web
com tudo o que eles precisam saber para começar a desenvolver
sites e aplicativos."> <!-- Metadata
custimizado com informações - SEO-->
<meta property="og:image" content="https://site.net/og.png"> <!-- Open
Graph Protocol - várias propertys -->
<meta property="og:description" content="description here"> <!-- og =
metadados para redes sociais -->
<meta property="og:title" content="Mozilla Developer Network"> <!--
Apresentados no compart. em redes sociais -->
<link rel="shortcut icon" href="fav.ico" type="image/x-icon"> <!-- Favicon
mostrado ao lado do titulo do html -->
<link rel="stylesheet" href="my-css-file.css"> <!-- Aplica
CSS ao html -->
<script src="my-js-file.js"></script> <!-- Aplica
javascript ao html -->
<html lang="pt-BR"> <!-- Define
idioma do html - SEO-->
<base href="http://www.exemplo.com/news/removido.html"> <!-- Url base
para links relativos e forms -->
<base href="link" target="_blank"> <!-- Link
usando o baseurl abrem em nova aba -->
</head>
<body> <!-- Corpo
html -->
<h1>Texto</h1> <!-- Titulo -
SEO -->
...
<h6>Texto</h6> <!-- Ultimo
nivel hierarquico de titulos - SEO -->
<figure>
<img src="imagem" alt="descrição"/> <!-- Add.
imagem ao doc. html -->
<figcaption>Texto</figcaption>
</figure>
<label for="id1">Checkbox1</label>
<input type="checkbox" id="id1" name="group" value="item1"> <!-- Input
tipo checkbox -->
<label for="id2">Checkbox2</label>
<input type="checkbox" id="id2" name="group" value="item2"> <!-- Input
tipo checkbox, agrupa "group" -->
<label for="rd1">Radio1</label>
<input type="radio" id="rd1" name="rgroup" value="yes"> <!-- Input
tipo radio-->
<label for="rd2">Radio2</label>
<input type="radio" id="rd2" name="rgroup" value="no">
</form>
</div>