brunovb
bruno@tagplus.com.br
bbarbosa85
b.barbosa85
html css javascript
php design de interação
fotografia arquitetura
Museu de Artes e Ofícios
Sistema TagPlus
Site Revista Unifemm - Sete Lagoas
Site Revista Puc Minas
Introdução HTML
slides.com/bbarbosa85/intro-html
Acompanhe em
Introdução HTML
Introdução HTML
Introdução HTML
Hyper Text Markup Language
1991
Introdução HTML
<nometag>Conteudo</nometag>
Introdução HTML
Introdução HTML
Salvar Documento
Ctrl + S
Trocar Janela
Alt + Tab
Atualizar Página
Ctrl + R
+ S
+ Tab
+ R
Copiar
Ctrl + C
+ C
Colar
Ctrl + V
+ V
Agilidade
Introdução HTML
<!DOCTYPE html>
<html>
<head>
<title>Título da página</title>
</head>
<body>
<h1>Título</h1>
<p>Parágrafo</p>
</body>
</html>
Tipo do documento.
Não é HTML
Introdução HTML
<head>
<title>Título da Página</title>
<meta charset="UTF-8">
<meta name="description" content="Free Web tutorials">
<meta name="keywords" content="HTML,CSS,XML,JavaScript">
<meta name="author" content="John Doe">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
Introdução HTML
<body>
<h1>Minha primeira página HTML</h1>
<p>Êba!!</p>
</body>
Introdução HTML
<!-- Este é um comentário HTML e não será exibido -->
Introdução HTML
Introdução HTML
<p title='título para o elemento'>Texto do parágrafo</p>
<p id='xulambs'>Texto do xulambs</p>
Introdução HTML
<img src="html5.jpg" alt="HTML5 Icon">
<img src="/imagens/html5.jpg" alt="HTML5 Icon" width="128" height="128">
<img src="https://media.giphy.com/media/wnh38lkiZt1QY/giphy.gif"
alt="Fácil até aqui, certo ?">
<img>
Introdução HTML
Introdução HTML
Introdução HTML
<a href="#id-do-elemento">link text</a>
<a href="outro-arquivo.html">outra pagina interna</a>
<a href="https://www.w3schools.com/html/">Visit our HTML tutorial</a>
<a>
Introdução HTML
<ul>
<li>item 1</li>
<li>item 2</li>
<li>item 3</li>
</ul>
Elemento Composto
<ul> <ol> <li>
Introdução HTML
list item
unordered list
ordered list
5 minutos: Monte um menu em lista
Introdução HTML
<table>
<tr>
<td>texto A</td>
</tr>
</table>
Elemento Composto
<table>
Introdução HTML
table row
table data
table header
Introdução HTML
width
border
cellpadding
cellspacing
colspan
rowspan
<table>
<td>
Introdução HTML
10 minutos: Monte um relatório de compras
BÔNUS
Introdução HTML
<iframe>
<iframe src="https://alguma.url.com"></iframe>
<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3749.9636544987084!2d-43.95417859999999!3d-19.9680307!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0xa697ee15f2c8e3%3A0x316158c31469df67!2sAv.+Raja+Gab%C3%A1glia%2C+4343+-+Cidade+Jardim%2C+Belo+Horizonte+-+MG!5e0!3m2!1spt-BR!2sbr!4v1503292469764" width="400" height="300" frameborder="0" style="border:0" allowfullscreen></iframe>
<iframe width="560" height="315" src="https://www.youtube.com/embed/_j43I8MNQ_Y" frameborder="0" allowfullscreen></iframe>
Introdução HTML
<form action='sucesso.html' method='post'>
<input type='text' name='apelido'/>
<button type='submit'>Enviar</button>
</form>
<form>
Elemento Composto
Atributos principais
Introdução HTML
<input type='tipo' name='nome do campo' />
<select name='nome do campo'>
<option value='A'>aaaaaa</option>
<option value='B'>bbbbbb</option>
</select>
Introdução HTML
<label for='nome'>Seu Nome</label>
<input type='text' name='nome' placeholder='digite seu nome'/>
<button type="button">Click Me!</button>
Introdução HTML
10 minutos: Monte um formulário de cadastro
BÔNUS
http://batora.net/html/index.php
Introdução HTML
<div>
<!-- um monte de elementos aqui -->
</div>
Introdução HTML
<span>
<div>
<fieldset> + <legend>
Texto
Conjunto de elementos
Conjunto de elementos com identificação
brunovb
bruno@tagplus.com.br
bbarbosa85
b.barbosa85
Introdução HTML