Professional Documents
Culture Documents
<h2>My Books</h2>
<p>You can find information on my books here as well.</p>
</body>
</html>
Usando <br> para line break
<!doctype html>
<html>
<head>
<title>My First Document</title>
</head>
<body>
<h1>My Web Page</h1>
<p>Welcome to my web page. Here you’ll find all sorts of
information
about me.</p>
<br>
<br>
<br>
<br>
<br>
<h2>My Books</h2>
<p>You can find information on my books here as well.</p>
</body>
</html>
Agregando comentarios
<!doctype html>
<html>
<head>
<title>My First Document</title>
</head>
<body>
<h1>My Web Page</h1>
<p>Welcome to my web page. Here you’ll find all
sorts of
information
about me.</p>
<!-- Adding information about my books 10/1/2012 -
->
<h2>My Books</h2>
<p>You can find information on my books here as
well.</p>
</body>
</html>
Agregando comentarios multilinea
<!doctype html>
<html>
<head>
<title>My First Document</title>
</head>
<body>
<h1>My Web Page</h1>
<p>Welcome to my web page. Here you’ll find all
sorts of
information
about me.</p>
<!--
Adding information about my books
Date: 10/1/2012
-->
<h2>My Books</h2>
<p>You can find information on my books here as
well.</p>
</body>
</html>
Agregando listas y tablas: HTML tiene tags
para crear entre listas y tablas. Lo puedes ver
en la tabla 1-2
Incluyendo links e imágenes en tu página
◦ Los links son agregados con el elemento <a>, el
atributo “href” vincula al recurso destino, pudiendo
ser una página, un sitio web externo, un
documento o archivo. Cerramos el elemento con
</a>
◦ Links a otra página
◦ <p>Here’s a link to <a
href=”http://www.braingia.org”>Steve Suehring’s
site</a></p>
Enlazando dentro de una página
◦ Algunas veces necesitarás dentro de una misma
página. Usted podría hacer esto en una página
particularmente larga, donde tiene una tabla de
contenido en la parte superior y a continuación, el
artículo completo más abajo en la página.
◦ La creación de enlaces en la página utiliza el mismo
elemento <a> que ha visto, este tiempo con el
atributo de nombre.
◦ Para abrir el link en una página en blanco usamos:
◦ El atributo target asignándole el valor _blank
<a href=”http://www.braingia.org” target=”_blank”>
Steve Suehring’s site</a>
Agregar imágenes
Agregar imágenes
◦ Referenciando la ubicación de la imagen
<img src=”images/books_mysqlbible.gif”>
◦ Atributo alt
<img src=”images/books_mysqlbible.gif” alt=”MySQL
Bible”>