Está en la página 1de 3

Cabecera (HEAD) de un documento

<HEAD> Titulo de la pagina <TITLE>Head de un documento </TITLE> </HEAD>

Lnea de comandos o etiquetas para actualizar la pagina

<META HTTP-EQUIV="Refresh" CONTENT="10">

<BODY>

CUERPO DE LA PAGINA WEB

texto texto texto texto texto texto texto texto texto texto texto texto texto texto texto texto texto texto texto texto texto texto texto texto </BODY>

Tamaos y tipos de letra en HTML


Para definir distintos tamaos de letra, en HTML se utiliza el elemento lleno <Hx> </Hx> donde x es un nmero que puede variar entre 1 y 6, siendo 1 el tamao mayor. Se escribirn as:
<H1> <H2> <H3> <H4> <H5> <H6> Texto Texto Texto Texto Texto Texto de de de de de de prueba prueba prueba prueba prueba prueba (H1)</H1>. (H2)</H2> (H3)</H3> (H4)</H4> (H5)</H5> (H6)</H6>

TAMANO DE LETRA

<FONT SIZE=3>A</font>

TIPO DE LETRA <FONT FACE="arial">Texto de prueba 12345 con tipo ARIAL</FONT>

TIPO DE LETRA HACIEDO USO DE COLOR

<FONT FACE="impact" SIZE=6 COLOR="red">

COLORES PRIMARIOS Y SECUNDARIOS

<B><FONT COLOR="red">Texto ROJO </FONT> <br> <FONT COLOR="blue">Texto AZUL </FONT> <br> <FONT COLOR="navy">Texto AZUL MARINO </FONT> <br> <FONT COLOR="green">Texto VERDE </FONT> <br> <FONT COLOR="olive">Texto OLIVA </FONT> <br> <FONT COLOR="yellow">Texto AMARILLO </FONT> <br> <FONT COLOR="lime">Texto LIMA </FONT> <br> <FONT COLOR="magenta">Texto MAGENTA </FONT> <br> <FONT COLOR="purple">Texto PURPURA </FONT> <br> <FONT COLOR="cyan">Texto CYAN </FONT> <br> <FONT COLOR="brown">Texto MARRON </FONT> <br> <FONT COLOR="black">Texto NEGRO </FONT> <br> <FONT COLOR="gray">Texto GRIS </FONT> <br> <FONT COLOR="teal">Texto TEAL </FONT> <br> <FONT COLOR="white">Texto BLANCO </FONT> <br> </B>

TAMAO DE LETRA Y COLOR

<FONT SIZE=6 COLOR="red">E</FONT><FONT SIZE=4>sto es una </FONT>

TEXTO HACIENDO USO DE PARRAFOS

Para definir los prrafos se utiliza el elemento lleno <P> </P> (por Paragraph). Aunque a menudo no se utiliza el cierre </P>, ya que el texto continuar normalmente hasta que encuentre otro prrafo <P>, es conveniente acostumbrarse a ponerlo siempre. En la nueva definicin del XHTML el cierre es obligatorio. Se escribir as:
<P> Texto 1 Texto 1 Texto 1 Texto 1 Texto 1 Texto 1 Texto 1 Texto 1 Texto 1 Texto 1 </P>

TEXTO ALINEADO (IZQUIEDA, DERECHA, CENTRO , JUSTIFICADO) 1 Texto 1 Texto 1 Texto 1 Texto 1 Texto 1 1 Texto 1 Texto 1 Texto 1 Texto 1 Texto 1 </P> 2 Texto 2 Texto 2 Texto 2 Texto 2 Texto 2 2 Texto 2 Texto 2 Texto 2 Texto 2 Texto 2 </P> 3 Texto 3 Texto 3 Texto 3 Texto 3 Texto 3 3 Texto 3 Texto 3 Texto 3 Texto 3 Texto 3 </P> 4 Texto 4 Texto 4 4 Texto 4 Texto 4 Texto 4 Texto 4 Texto 4 Texto 4 Texto 4 Texto 4 </P>

<P ALIGN=LEFT> Texto 1 Texto 1 Texto Texto 1 Texto 1 Texto <P ALIGN=RIGHT> Texto 2 Texto 2 Texto Texto 2 Texto 2 Texto <P ALIGN=CENTER> Texto 3 Texto 3 Texto Texto 3 Texto 3 Texto <P ALIGN=JUSTIFY> Texto 4 Texto 4 Texto Texto 4 Texto 4 Texto

TABULACION DE TEXTO texto texto texto texto texto texto texto texto texto texto texto texto texto texto texto texto texto texto texto texto texto texto texto texto texto texto texto texto

<BLOCKQUOTE> texto texto texto texto texto texto <BLOCKQUOTE> texto texto texto texto texto texto </BLOCKQUOTE> </BLOCKQUOTE>

Otros efectos en el texto

<CENTER>texto centrado texto centrado</CENTER>

Texto en negrita:
<B>Texto en negrita</B>

Texto en itlica:
<I>Texto en itlica</I>

Texto subrayado:
<U>Texto subrayado</U>

Texto intermitente
<BLINK>Texto intermitente</BLINK>

También podría gustarte