Guia de comandos html

alvarogomes 437 views 4 slides Oct 29, 2014
Slide 1
Slide 1 of 4
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4

About This Presentation

Esta tabela é um resumo dos principais comandos HTML


Slide Content

Guiaderefer ênciarápida
Estatabela éumresumodosprincipaiscomandosHTML
ComandosdeEstrutura
Função Abrecom Parâmetros Fechacom
ComandoMestre <html> nenhum(a) </html>
ÁreadeCabe çalho<head> nenhum(a) </head>
Títulododocumento <title> nenhum(a) </title>
Coment ários <!-- nenhum(a) -->
Corpodoprograma <body> background="NomeArquivo
"
bgcolor="XXXX"
text="XXXX"
link="XXXX"
vlink="XXXX"
</body>
ComandosdeTexto
Finalidade Tag Parâmetros Fechacom
QuebradeLinha <br> clear=left/right/all nenhum(a)
Parágrafo <p> align=center/right </p>
Negrito <b> nenhum(a) </b>
Itálico <i> nenhum(a) </i>
Textodem áquina<tt> nenhum(a) </tt>
Cabeçalho <h1-6> align=center/right </h1-6>
Fonte <font> face="nome,nome"
size=+/-XXX
color="XXXX"
</font>
Linhadivis ória<hr> size=XX
width=XX/XX%
noshade
nenhum(a)
BlockQuote <blockquote
>
nenhum(a) </blockquote
>
Divisão <div> align=left/center/right</div>

ComandosdeLista
Finalidade Tag Parâmetros Fechacom
Listan ãoordenada <ul> type=disc/circle/squ
are
</ul>
listaordenada <ol> type=I/A/1/a/i
start=XX
</ol>
ItemdeLista <li> type=alluleol nenhum(a)
ListadeDefini ção <dl> nenhum(a) </dl>
itemdeListadeDefini ção<dt> nenhum(a) nenhum(a)
Defini çãodalista <dd> nenhum(a) nenhum(a)
ComandosdeLink
Finalidade Tag Parâmetros Fechacom
Ancôra <a> href="NomeArquivo"
target="NomeDaJanela"
</a>
Marcadeanc ôra<a> name="nomedamarca" nenhum(a)
ImageTags
Finalidade TagParâmetros Fechacom
InserçãodeImagem <img
>
src="NomeArquivo"
align=left/right
width=XXX
height=XXX
alt="text"
ISMAP
USEMAP="#NomeDoMapa"
nenhum(a)
Client-sideImagemapTags
Finalidade Tag Parâmetros Fechacom
DefineMapa <map> name="NomeDoMapa" </map>
Definea Área<area> shape="rect/circle/poly/poin
t"
coords="X,Y,X,Y"
href="NomeDaImagem"
nenhum(a)
ComandosdeTabela
Finalidade Tag Parâmetros Fechacom
Table <table> border=X
width=X
cellspacing=X
cellpadding=X
bgcolor="XXXX"
</table>
TableRow <tr> align=left/center/right
valign=top/middle/bottom
bgcolor="XXXX"
</tr>
TableData <td> align=left/center/right
valign=top/middle/bottom
</td>

width=X
nowrap
colspan=X
rowspan=X
bgcolor="XXXX"
TableHeader <th> align=left/center/right
valign=top/middle/bottom
width=X
nowrap
colspan=X
rowspan=X
bgcolor="XXXX"
</th>
Caption <caption>align=left/center/right
valign=top/middle/bottom
</caption>
ComandosdeFrame
Finalidade Tag Parâmetros Fechacom
SetFrames <frameset
>
cols="XX/XX%/*"
rows="XX/XX%/*"
</frameset>
FrameDefinition <frame> src="NomeArquivo"
name="NomeDaFrame"
noresize
scroll=auto/yes/no
marginwidth="XX"
marginheight="XX"
nenhum(a)
Base <base> target="NomeDaFrame"/
"_self"/
"_top"/
"_parent"
(Notetheunderscores)
nenhum(a)
NoFrames <noframes
>
nenhum(a) </noframes>
ComandosdeFormul ário
Finalidade Tag Parâmetros Fechacom
Form <form> method=get/put
action="programname"
</form>
InputField <input> name="variablename"
type=text/password/
checkbox/radio/submit
/
reset/image
nenhum(a)
SelectionList <select>name="variablename"
size=XX
multiple
</select>
SelectionOption <option>nenhum(a) nenhum(a)
ScrollingTextField <textarea
>
name="variablename"
rows=XX
cols=XX
</textarea>

OcomandoMeta
Finalidade Tag Parâmetros
<META>
(Servermetatags)
http-equiv="refresh"
content="seconds,NomeArquivo"
nenhum(a)
<META>
(Contentmetatags)
name="keywords/description/author
/
generator/abstract/expiration"
content="yourinformation"
nenhum(a)
CSSStyleSheetTags
Finalidade Tag Parâmetros Fechacom
StyleDefinition <style> type="text/css"> </style>
LinktoCSSFile <link> rel=stylesheet
type="text/css"
href="URL"
nenhum(a)
Span <span> style="property:value;"</span>