Top Banner
25

HTML - HyperText Markup Language - 3

Apr 14, 2017

Download

Software

Israel Messias
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: HTML - HyperText Markup Language - 3
Page 2: HTML - HyperText Markup Language - 3

<a></a>

<html></html>

<head></head>

<title></title>

<body></body>

<meta>

<h1></h1> - <h6></h6>

<p></p>

<br>

<hr>

<ul></ul>

<li></li>

<ol></ol>

Page 3: HTML - HyperText Markup Language - 3
Page 4: HTML - HyperText Markup Language - 3

index.html

Page 5: HTML - HyperText Markup Language - 3

• Insere uma imagem no texto

<img>

Page 6: HTML - HyperText Markup Language - 3

• Insere uma imagem no texto

<img src="imagem.jpg">

Page 7: HTML - HyperText Markup Language - 3

• Insere uma tabela, composta de linhas e colunas

<table>

<tr>

<td>linha 1, célula 1</td>

<td>linha 1, célula 2</td>

</tr>

<tr>

<td>linha 2, célula 1</td>

<td>linha 2, célula 2</td>

</tr>

</table>

Page 8: HTML - HyperText Markup Language - 3

• Mantém o texto da mesma maneira que foi digitado, exibindo-o no mesmo formato no

navegador, toda a fonte com a mesma largura, padrão Courier.

<pre></pre>

<pre>Teste tag pre. m - i</pre>

Page 9: HTML - HyperText Markup Language - 3

• Formatação de citações longas.

<blockquote></blockquote>

<blockquote>Quem ri por último, ri atrasado.</blockquote>

Page 10: HTML - HyperText Markup Language - 3

• Utilizada para endereços e para assinar o documento.

<address></address>

<address>Rua 7 de setembro, 77</address>

Page 11: HTML - HyperText Markup Language - 3

• Utilizada para citações curtas, títulos de livros, filmes, etc.

<cite></cite>

A <cite>Alemanha</cite> é o país do

futebol.

Page 12: HTML - HyperText Markup Language - 3

• Utilizada para indicar trechos de códigos de programas.

<code></code>

<code>for (x=0); cl &&(!feof(stdin)); x++</code>

Page 13: HTML - HyperText Markup Language - 3

• Utilizada par dar ênfase a um trecho específico.

<em></em>

Um prato de <em>trigo</em>, para um <em>tigre</em>

triste.

Page 14: HTML - HyperText Markup Language - 3

• Utilizada par dar ênfase a um trecho específico.

<strong></strong>

Antes de enviar um e-mail, confira o

campo <strong> “Assunto:”!</strong>

Page 15: HTML - HyperText Markup Language - 3

• A formatação física especifica diretamente os estilos que se quer para o texto:

• Itálico - <i>itálico</i>

• Negrito - <b>negrito</b>

• Sublinhado <u>sublinhado</u>

• Riscado <strike>riscado</strike>

Page 16: HTML - HyperText Markup Language - 3

• A formatação física especifica diretamente os estilos que se quer para o texto:

• Tamanho do texto

<big>Grande</big><small>Pequeno</small>

• Sobrescritos - <sup>sobrescrito</sup>

• Subscritos - <sub>subscrito</sub>

Page 17: HTML - HyperText Markup Language - 3

• Utilizada para alterar a maioria das propriedades das fontes. Todo o conteúdo que estiver

dentro dessa tag terá características definidas pelos atributos.

<font face=“Times New Roman”>

Bom dia!

</font>

<font></font>

Page 18: HTML - HyperText Markup Language - 3

• color = “valor”: Ajusta a cor do texto;

• face = “nomeDaFonte1, nomeDaFonte2”: Especifica o tipo fonte para o texto;

• size = “valor”: Especifica o tamanho da fonte;

<font face=“Arial, Verdana, Tahoma” size=5

color=“#000000”>

Texto formatado por atributos

</font>

Page 19: HTML - HyperText Markup Language - 3

• O elemento div é semanticamente neutro: ele não tem qualquer valor semântico, é

simplesmente um elemento container, a nível de bloco.

<div>

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Nullam sit amet varius lacus.

</div>

<div></div>

Page 20: HTML - HyperText Markup Language - 3

Align - alinha o texto na tela, com os valores:

• left: esquerda;

• right: direita;

• center: centralizado;

• justify: justificado.

<div align=“justify”>

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam sit amet varius

lacus. Nullam suscipit lobortis eros, nec laoreet eros consequat non.

</div>

Page 21: HTML - HyperText Markup Language - 3

• Assim como o div, o elemento span é semanticamente neutro: ele não tem qualquer valor

semântico, é simplesmente um elemento container inline.

<span>

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Nullam sit amet varius lacus.

</span>

<span></span>

Page 22: HTML - HyperText Markup Language - 3

<tag atributo="valor"></tag>

Page 23: HTML - HyperText Markup Language - 3

<img>

<table></table>

<tr><td></td></tr>

<pre></pre>

<blockquote></blockquote>

<address></address>

<cite></cite>

<code></code>

<em></em>

Page 24: HTML - HyperText Markup Language - 3

<strong></strong>

<i></i>

<b></b>

<u></u>

<strike></strike>

<big></big>

<small></small>

<sub></sub>

<sup></sup>

<font></font>

<div></div>

<span></span>

Page 25: HTML - HyperText Markup Language - 3

• HTML Princípios Básicos - (http://pt.slideshare.net/mayzaoliveira/htmlprincipiosbasicos)

• Tutorial de HTML - Tabelas (http://www.clem.ufba.br/tuts/html/c09.htm)