Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Itapa
Facultad de Ciencias y
Tecnologa
LIC. EN INFORMATICA EMPRESARIA
Programacin III
Programacin Visual y Orientada a
Eventos
Introduccin a HTML
Marzo 2017
Introduccin a HTML
Qu es HTML?
<html>
<head>
<TITLE> Un documento simple
</TITLE>
</head>
<body>
Esto es un texto que no tendr
estilos, ni caractersticas de ningn
tipo.
</body>
</html>
Introduccin a HTML
HTML Arquitectura Titulares encabezados
<html>
<head><TITLE> Encabezados </TITLE>
</head>
<body>
<H1> Titular de primer nivel </H1>
<H2> Titular de segundo nivel </H2>
<H3> Titular de tercer nivel </H3>
<H4> Titular de cuarto nivel </H4>
</body>
Introduccin a HTML
HTML Arquitectura Titulares encabezados
<html>
<head><TITLE> Encabezados </TITLE>
</head>
<body>
<H1> Titular de primer nivel </H1>
<H2> Titular de segundo nivel </H2>
<H3> Titular de tercer nivel </H3>
<H4> Titular de cuarto nivel </H4>
</body>
</html>
Introduccin a HTML
HTML Arquitectura Listas
Listas sin enumerar: (Unnumbered list)
<UL> <LI> </UL>
Listas enumeradas: (Ordered list)
<OL> <LI> </OL>
<html>
<head><TITLE> Listas </TITLE> </head>
<body>
<H2>Listas sin numerar: (Unnumbered List)</H2>
<UL>
<LI> 1er. elemento <LI> 2do. elemento <LI> 3er.
elemento
</UL>
<H2>Listas numeradas: (Ordered List)</H2>
<OL>
<LI> 1er. elemento <LI> 2do. elemento <LI> 3er.
elemento
</OL>
Introduccin a HTML
HTML Arquitectura Texto
<html>
<head><TITLE> Texto </TITLE> </head>
<body>
<pre>
El siguiente texto es preformateado
Ahora si que valen los blancos,
tabuladores y retornos de carro.
</pre>
<p>
el no preformateado
suele ser proporcional
</p>
</body>
</html>
Introduccin a HTML
HTML Arquitectura Enlace
Enlace:
<a> </a>
<a href=direccion de referencia> Texto del enlace
</a>
<html>
<head><TITLE> Enlace </TITLE> </head>
<body>
<a href=http://www.google.com> Ir a Google </a>
</body>
</html>
Introduccin a HTML
HTML Arquitectura Imgenes
Incluir una imagen:
<img src=nombreDeLaImagen>
<img src=nombreDeLaImagen width=ancho
height=alto>
<html>
<head><TITLE> Imgenes </TITLE> </head>
<body>
<H1>Este es el logo de la UNAE</H1>
<p>La imagen se comporta
<img src=logo.png width=91 height=89/> como in
caracter </p>
<p>Podemos hacer un enlace
<a href=http://www.uni.edu.py>
<img src=logo.png width=91
height=89/>
</a>
</p>
</body>
Introduccin a HTML
HTML Arquitectura Tablas
Incluir una tabla: Partes:
<table>...</table> <tr> <tr> --> Filas
<td> <td> --> Celdas
<html>
<head><TITLE> Tablas </TITLE> </head>
<body>
<table width="75%" border="1" >
<tr>
<td>CELDA 1</td>
<td>CELDA 2</td>
</tr>
<tr>
<td>CELDA 3</td>
<td>CELDA 4</td>
</tr>
</table>
</body>
</html>
Introduccin a HTML
HTML Arquitectura Tablas
<html>
<head><TITLE> Tablas </TITLE> </head>
<body>
<table width="75%" border="1" >
<tr>
<td>CELDA 1</td>
<td>CELDA 2</td>
</tr>
<tr>
<td>CELDA 3</td>
<td>CELDA 4</td>
</tr>
</table>
</body>
</html>
Introduccin a HTML
HTML Trabajo prctico en clase 3 puntos (acumulativos para PP)