comment
IRC Chat
play_arrow
Este sitio utiliza cookies propias y de terceros. Si continúa navegando consideramos que acepta el uso de cookies. OK Más Información.

[HTML] Codigos utiles en HTML

  • 0 Respuestas
  • 1685 Vistas

0 Usuarios y 1 Visitante están viendo este tema.

Conectado ANTRAX

  • *
  • Administrator
  • Mensajes: 5339
  • Actividad:
    18.33%
  • Reputación 30
  • ANTRAX
    • Ver Perfil
    • Underc0de
    • Email
  • Skype: underc0de.org
  • Twitter: @Underc0de
« en: Febrero 24, 2010, 11:52:00 am »
Aqui posteare bastantes ejemplos de CODIGO HTML
Espero os guste...:D


Documento BASICO con DTD

HTML BASICO

Código: HTML5
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  2. "http://www.w3.org/TR/html4/loose.dtd">
  3.  
  4. <You are not allowed to view links. Register or Login>
  5.  
  6. <You are not allowed to view links. Register or Login>
  7. <You are not allowed to view links. Register or Login>HTML Básico</You are not allowed to view links. Register or Login>
  8. </You are not allowed to view links. Register or Login>
  9.  
  10. <You are not allowed to view links. Register or Login>
  11.  
  12. <You are not allowed to view links. Register or Login>HTML Básico</You are not allowed to view links. Register or Login>
  13.  
  14. <You are not allowed to view links. Register or Login>
  15.  
  16. <You are not allowed to view links. Register or Login>Esto es un párrafo, con un
  17. salto<You are not allowed to view links. Register or Login>de línea, precedido de una
  18. línea horizontal.</You are not allowed to view links. Register or Login>
  19.  
  20. <You are not allowed to view links. Register or Login align="right">Esto es otro párrafo
  21. alineado a la derecha.      Los
  22. separadores     extra   se ignoran.</You are not allowed to view links. Register or Login>
  23.  
  24. </You are not allowed to view links. Register or Login>
  25. </You are not allowed to view links. Register or Login>

Cabecera de TITULOS.

Código: HTML5
  1. <You are not allowed to view links. Register or Login>
  2. <You are not allowed to view links. Register or Login>
  3.  
  4. <You are not allowed to view links. Register or Login>Cabecera h1</You are not allowed to view links. Register or Login>
  5. <You are not allowed to view links. Register or Login>Cabecera h2</You are not allowed to view links. Register or Login>
  6. <You are not allowed to view links. Register or Login>Cabecera h3</You are not allowed to view links. Register or Login>
  7. <You are not allowed to view links. Register or Login>Cabecera h4</You are not allowed to view links. Register or Login>
  8. <You are not allowed to view links. Register or Login>Cabecera h5</You are not allowed to view links. Register or Login>
  9. <You are not allowed to view links. Register or Login>Cabecera h6</You are not allowed to view links. Register or Login>
  10.  
  11. </You are not allowed to view links. Register or Login>
  12. </You are not allowed to view links. Register or Login>

INSERCION de COMENTARIOS

Código: HTML5
  1. <You are not allowed to view links. Register or Login>
  2. <You are not allowed to view links. Register or Login>
  3.  
  4. <You are not allowed to view links. Register or Login type="text/javascript">
  5. <!--
  6. function saluda (texto)
  7. {
  8.  window.alert(texto);
  9. }
  10. //-->
  11. </You are not allowed to view links. Register or Login>
  12.  
  13. </You are not allowed to view links. Register or Login>
  14. <You are not allowed to view links. Register or Login>
  15.  
  16. <!-- Esto es un comentario
  17.     y no se visualizará. -->
  18.  
  19. <You are not allowed to view links. Register or Login>Los comentarios, además de servir
  20. como texto aclaratorio en los
  21. documentos, también se utilizan para
  22. evitar que el contenido correspondiente
  23. a elementos no reconocidos por algún
  24. navegador (o alguna versión anterior
  25. del mismo) se muestre de forma literal.
  26. Por ejemplo, en estilos y scripts.</You are not allowed to view links. Register or Login>
  27.  
  28. <You are not allowed to view links. Register or Login type="text/javascript">
  29. <!--
  30. saluda("Ejemplo de JavaScript");
  31. //-->
  32. </You are not allowed to view links. Register or Login>
  33.  
  34. </You are not allowed to view links. Register or Login>
  35. </You are not allowed to view links. Register or Login>
  36. [/cose]
  37.  
  38. [color=red][b]METAINFORMACION[/b][/color]
  39.  
  40. [code=html5]
  41. <You are not allowed to view links. Register or Login>
  42.  
  43. <You are not allowed to view links. Register or Login>
  44.   <You are not allowed to view links. Register or Login name="Description"
  45.  content="HTML,CSS,JavaScript,DHTML">
  46.   <You are not allowed to view links. Register or Login content="text/html;
  47.  charset=UTF-8">
  48.   <You are not allowed to view links. Register or Login http-equiv="Refresh" content="6;
  49.  url=/aii/">
  50. </You are not allowed to view links. Register or Login>
  51.  
  52. <You are not allowed to view links. Register or Login>
  53.  
  54. <You are not allowed to view links. Register or Login>Está página ha sido movida</You are not allowed to view links. Register or Login>
  55.  
  56. <You are not allowed to view links. Register or Login>Serás redirigido a<You are not allowed to view links. Register or Login><You are not allowed to view links. Register or Login href="/aii/"><You are not allowed to view links. Register or Login>
  57. http://www.inforg.uniovi.es/aii/</You are not allowed to view links. Register or Login></You are not allowed to view links. Register or Login>
  58. <You are not allowed to view links. Register or Login>en 6 segundos.
  59. </You are not allowed to view links. Register or Login>
  60.  
  61. </You are not allowed to view links. Register or Login>
  62. </You are not allowed to view links. Register or Login>
  63.  

FORMATEO

Texto FORMATEADO

Código: HTML5
  1. <You are not allowed to view links. Register or Login>
  2. <You are not allowed to view links. Register or Login>
  3.  
  4. <You are not allowed to view links. Register or Login>Esto es un texto no formateado.</You are not allowed to view links. Register or Login>
  5.  
  6. <You are not allowed to view links. Register or Login>El siguiente texto está formateado: <You are not allowed to view links. Register or Login>
  7.  
  8. <You are not allowed to view links. Register or Login>Este texto está en negrita</You are not allowed to view links. Register or Login> <You are not allowed to view links. Register or Login>
  9.  
  10. <You are not allowed to view links. Register or Login>Este texto está en cursiva</You are not allowed to view links. Register or Login> <You are not allowed to view links. Register or Login>
  11.  
  12. <You are not allowed to view links. Register or Login>Texto enfatizado</You are not allowed to view links. Register or Login> <You are not allowed to view links. Register or Login>
  13.  
  14. <You are not allowed to view links. Register or Login>Texto destacado</You are not allowed to view links. Register or Login> <You are not allowed to view links. Register or Login>
  15.  
  16. <big>Texto grande</big> <You are not allowed to view links. Register or Login>
  17.  
  18. <You are not allowed to view links. Register or Login>Texto pequeño</You are not allowed to view links. Register or Login> <You are not allowed to view links. Register or Login>
  19.  
  20. Texto con <You are not allowed to view links. Register or Login>superíndice</You are not allowed to view links. Register or Login> <You are not allowed to view links. Register or Login>
  21.  
  22. Texto con <You are not allowed to view links. Register or Login>subíndice</You are not allowed to view links. Register or Login> <You are not allowed to view links. Register or Login></You are not allowed to view links. Register or Login>
  23.  
  24. </You are not allowed to view links. Register or Login>
  25. </You are not allowed to view links. Register or Login>
  26.  

Texto PREFORMATEADO

Código: HTML5
  1. <You are not allowed to view links. Register or Login>
  2. <You are not allowed to view links. Register or Login>
  3.  
  4. <You are not allowed to view links. Register or Login>
  5. El texto preformateado permite mostrar
  6. el texto tal cual se escribe, respetando
  7. todos los separadores. Habitualmente, el
  8. texto se mostrará con algún tipo de letra
  9. de ancho fijo.</You are not allowed to view links. Register or Login>
  10.  
  11. <You are not allowed to view links. Register or Login>     Este texto está
  12.   preformateado
  13.  
  14. y se <You are not allowed to view links. Register or Login>verá</You are not allowed to view links. Register or Login>     igual que
  15.                         aquí.
  16.  
  17. Obsérvese que se interpreta el
  18. código HTML.</You are not allowed to view links. Register or Login>
  19.  
  20. </You are not allowed to view links. Register or Login>
  21. </You are not allowed to view links. Register or Login>
  22.  

Texto COMPUTACIONAL

Código: HTML5
  1. <You are not allowed to view links. Register or Login>
  2. <You are not allowed to view links. Register or Login>
  3.  
  4. <You are not allowed to view links. Register or Login>
  5. <You are not allowed to view links. Register or Login>&lt;code&gt;</You are not allowed to view links. Register or Login> Define el texto como código para la computadora.</You are not allowed to view links. Register or Login>
  6.  
  7. <You are not allowed to view links. Register or Login>
  8.   <You are not allowed to view links. Register or Login>
  9.   int s=0;
  10.   for (int i=0; i&lt;n; i++)
  11.     s+=i;
  12.   </You are not allowed to view links. Register or Login>
  13. </You are not allowed to view links. Register or Login>
  14.  
  15. <You are not allowed to view links. Register or Login>
  16. <You are not allowed to view links. Register or Login>&lt;kbd&gt;</You are not allowed to view links. Register or Login>
  17. <You are not allowed to view links. Register or Login> Define texto a introducir por
  18. teclado</You are not allowed to view links. Register or Login>
  19. <You are not allowed to view links. Register or Login>
  20.  
  21. <You are not allowed to view links. Register or Login>&lt;samp&gt;</You are not allowed to view links. Register or Login>
  22. <You are not allowed to view links. Register or Login>Código de computadora corto</You are not allowed to view links. Register or Login>
  23. <You are not allowed to view links. Register or Login>
  24.  
  25. <You are not allowed to view links. Register or Login>&lt;tt&gt;</You are not allowed to view links. Register or Login>
  26. <tt>Define el tipo teletexto</tt>
  27. <You are not allowed to view links. Register or Login>
  28.  
  29. <You are not allowed to view links. Register or Login>&lt;var&gt;</You are not allowed to view links. Register or Login>
  30. <You are not allowed to view links. Register or Login>Define una variable</You are not allowed to view links. Register or Login>
  31. </You are not allowed to view links. Register or Login>
  32.  
  33. </You are not allowed to view links. Register or Login>
  34. </You are not allowed to view links. Register or Login>
  35.  

Texto MODIFICADO

Código: HTML5
  1. <You are not allowed to view links. Register or Login>
  2. <You are not allowed to view links. Register or Login>
  3.  
  4. <You are not allowed to view links. Register or Login>Para indicar las modificaciones
  5. en los documentos se indican las
  6. palabras borradas e insertadas.</You are not allowed to view links. Register or Login>
  7.  
  8. <You are not allowed to view links. Register or Login>Esta <You are not allowed to view links. Register or Login>palabra</You are not allowed to view links. Register or Login> está
  9. borrada y las palabras siguientes
  10. <You are not allowed to view links. Register or Login>son nuevas</You are not allowed to view links. Register or Login></You are not allowed to view links. Register or Login>
  11.  
  12. </You are not allowed to view links. Register or Login>
  13. </You are not allowed to view links. Register or Login>
  14.  

CITAS

Código: HTML5
  1. <You are not allowed to view links. Register or Login>
  2. <You are not allowed to view links. Register or Login>
  3.  
  4. <You are not allowed to view links. Register or Login>Una cita corta:</You are not allowed to view links. Register or Login>
  5. <You are not allowed to view links. Register or Login>
  6. <You are not allowed to view links. Register or Login>Si uno no sabe historia, no sabe
  7. nada.</You are not allowed to view links. Register or Login>
  8. <You are not allowed to view links. Register or Login>
  9. <You are not allowed to view links. Register or Login>Edward Johnston, 1990</You are not allowed to view links. Register or Login>
  10. </You are not allowed to view links. Register or Login>
  11.  
  12. <You are not allowed to view links. Register or Login><You are not allowed to view links. Register or Login></You are not allowed to view links. Register or Login>
  13.  
  14. <You are not allowed to view links. Register or Login>Una cita larga:</You are not allowed to view links. Register or Login>
  15. <You are not allowed to view links. Register or Login>
  16. <You are not allowed to view links. Register or Login>
  17. La mayoría de las ideas fundamentales de
  18. la ciencia son esencialmente sencillas y,
  19. por regla general pueden ser expresadas
  20. en un lenguaje comprensible para todos.
  21. <You are not allowed to view links. Register or Login>
  22. <You are not allowed to view links. Register or Login>Albert Einstein</You are not allowed to view links. Register or Login>
  23. </You are not allowed to view links. Register or Login>
  24. </You are not allowed to view links. Register or Login>
  25.  
  26. </You are not allowed to view links. Register or Login>
  27. </You are not allowed to view links. Register or Login>
  28. [/code=html5]
  29.  
  30. [color=red][b]DIRECCIONES[/b][/color]
  31.  
  32. [code=html5]
  33. <You are not allowed to view links. Register or Login>
  34. <You are not allowed to view links. Register or Login>
  35.  
  36. <You are not allowed to view links. Register or Login>
  37. Con la etiqueta <You are not allowed to view links. Register or Login>&lt;address&gt;</You are not allowed to view links. Register or Login>
  38. se indican los datos del autor
  39. del documento (u otras direcciones):
  40. </You are not allowed to view links. Register or Login>
  41.  
  42. <You are not allowed to view links. Register or Login><You are not allowed to view links. Register or Login></You are not allowed to view links. Register or Login>
  43.  
  44. <You are not allowed to view links. Register or Login>
  45. &copy; 2000, Juan Fernández<You are not allowed to view links. Register or Login>
  46. Spain
  47. </You are not allowed to view links. Register or Login>
  48.  
  49. </You are not allowed to view links. Register or Login>
  50. </You are not allowed to view links. Register or Login>
  51.  

Abreviaturas y Acronimos

Código: HTML5
  1. <You are not allowed to view links. Register or Login>
  2. <You are not allowed to view links. Register or Login>
  3.  
  4. <You are not allowed to view links. Register or Login><You are not allowed to view links. Register or Login>
  5. <You are not allowed to view links. Register or Login title="Abreviatura">
  6. UN
  7. </You are not allowed to view links. Register or Login></You are not allowed to view links. Register or Login>
  8.  
  9. <You are not allowed to view links. Register or Login>
  10. <acronym title="World Wide Web">
  11. WWW
  12. </acronym></You are not allowed to view links. Register or Login>
  13.  
  14. <You are not allowed to view links. Register or Login>
  15. En las versiones actuales de los
  16. navegadores el valor de la propiedad
  17. <You are not allowed to view links. Register or Login>title</You are not allowed to view links. Register or Login> se utiliza como elemento
  18. informativo, mostrándose dicho valor
  19. en una etiqueta al situar el ratón
  20. sobre el elemento.</You are not allowed to view links. Register or Login>
  21.  
  22. </You are not allowed to view links. Register or Login>
  23. </You are not allowed to view links. Register or Login>
  24.  

Direccion del TEXTO

Código: HTML5
  1. <You are not allowed to view links. Register or Login>
  2. <You are not allowed to view links. Register or Login>
  3.  
  4. <You are not allowed to view links. Register or Login>La etiqueta <You are not allowed to view links. Register or Login>&lt;bdo&gt;</You are not allowed to view links. Register or Login> permite
  5. indicar la dirección del texto.<You are not allowed to view links. Register or Login>
  6. El atributo <You are not allowed to view links. Register or Login>dir</You are not allowed to view links. Register or Login> es obligatorio y
  7. puede tomar los valores:<You are not allowed to view links. Register or Login>
  8. - ltr (de izquierda a derecha)<You are not allowed to view links. Register or Login>
  9. - rtl (de derecha a izquierda)</You are not allowed to view links. Register or Login>
  10.  
  11. <You are not allowed to view links. Register or Login><You are not allowed to view links. Register or Login></You are not allowed to view links. Register or Login>
  12.  
  13. <You are not allowed to view links. Register or Login><You are not allowed to view links. Register or Login dir="rtl">
  14. Derecha a izquierda<You are not allowed to view links. Register or Login>
  15. Dabale arroz a la zorra el abad
  16. </You are not allowed to view links. Register or Login></You are not allowed to view links. Register or Login>
  17.  
  18. </You are not allowed to view links. Register or Login>
  19. </You are not allowed to view links. Register or Login>
  20.  

LISTAS

Ejemplos de LISTAS

Código: HTML5
  1. <You are not allowed to view links. Register or Login>
  2. <You are not allowed to view links. Register or Login>
  3.  
  4. <You are not allowed to view links. Register or Login>Una lista ordenada</You are not allowed to view links. Register or Login>
  5. <You are not allowed to view links. Register or Login>
  6.   <You are not allowed to view links. Register or Login>uno</You are not allowed to view links. Register or Login>
  7.   <You are not allowed to view links. Register or Login>dos</You are not allowed to view links. Register or Login>
  8.   <You are not allowed to view links. Register or Login>tres</You are not allowed to view links. Register or Login>
  9. </You are not allowed to view links. Register or Login>
  10.  
  11. <You are not allowed to view links. Register or Login>Una lista desordenada</You are not allowed to view links. Register or Login>
  12. <You are not allowed to view links. Register or Login>
  13.   <You are not allowed to view links. Register or Login>Asturias</You are not allowed to view links. Register or Login>
  14.   <You are not allowed to view links. Register or Login>Cantabria</You are not allowed to view links. Register or Login>
  15.   <You are not allowed to view links. Register or Login>Galicia</You are not allowed to view links. Register or Login>
  16. </You are not allowed to view links. Register or Login>
  17.  
  18. <You are not allowed to view links. Register or Login><You are not allowed to view links. Register or Login>La lista ordenada se utiliza
  19. cuando los elementos de la misma se
  20. citan según un orden que es relevante.
  21. </You are not allowed to view links. Register or Login>
  22.  
  23. </You are not allowed to view links. Register or Login>
  24. </You are not allowed to view links. Register or Login>
  25.  

Listas ORDENADAS

Código: HTML5
  1. <You are not allowed to view links. Register or Login>
  2. <You are not allowed to view links. Register or Login>
  3.  
  4. <You are not allowed to view links. Register or Login>Se puede elegir el tipo de numeración
  5. de las listas ordenadas mediante el
  6. atributo <You are not allowed to view links. Register or Login>type</You are not allowed to view links. Register or Login> que puede tomar los
  7. valores: 1, a, A, i, I. </You are not allowed to view links. Register or Login>
  8.  
  9. <You are not allowed to view links. Register or Login type="a">
  10.   <You are not allowed to view links. Register or Login>uno</You are not allowed to view links. Register or Login>
  11.   <You are not allowed to view links. Register or Login>dos</You are not allowed to view links. Register or Login>
  12.   <You are not allowed to view links. Register or Login>tres</You are not allowed to view links. Register or Login>
  13. </You are not allowed to view links. Register or Login>
  14.  
  15. <You are not allowed to view links. Register or Login type="I">
  16.   <You are not allowed to view links. Register or Login>uno</You are not allowed to view links. Register or Login>
  17.   <You are not allowed to view links. Register or Login>dos</You are not allowed to view links. Register or Login>
  18.   <You are not allowed to view links. Register or Login>tres</You are not allowed to view links. Register or Login>
  19. </You are not allowed to view links. Register or Login>
  20.  
  21. </You are not allowed to view links. Register or Login>
  22. </You are not allowed to view links. Register or Login>
  23.  

Listas NO ORDENADAS

Código: HTML5
  1. <You are not allowed to view links. Register or Login>
  2. <You are not allowed to view links. Register or Login>
  3.  
  4. <You are not allowed to view links. Register or Login>Se puede elegir el tipo de viñeta
  5. de las listas no ordenadas mediante el
  6. atributo <You are not allowed to view links. Register or Login>type</You are not allowed to view links. Register or Login> que puede tomar los
  7. valores: disc, square, circle.</You are not allowed to view links. Register or Login>
  8.  
  9. <You are not allowed to view links. Register or Login type="square">
  10.   <You are not allowed to view links. Register or Login>Asturias</You are not allowed to view links. Register or Login>
  11.   <You are not allowed to view links. Register or Login>Cantabria</You are not allowed to view links. Register or Login>
  12.   <You are not allowed to view links. Register or Login>Galicia</You are not allowed to view links. Register or Login>
  13. </You are not allowed to view links. Register or Login>
  14.  
  15. <You are not allowed to view links. Register or Login type="circle">
  16.   <You are not allowed to view links. Register or Login>Asturias</You are not allowed to view links. Register or Login>
  17.   <You are not allowed to view links. Register or Login>Cantabria</You are not allowed to view links. Register or Login>
  18.   <You are not allowed to view links. Register or Login>Galicia</You are not allowed to view links. Register or Login>
  19. </You are not allowed to view links. Register or Login>
  20.  
  21. </You are not allowed to view links. Register or Login>
  22. </You are not allowed to view links. Register or Login>
  23.  

Listas ANIDADAS

Código: HTML5
  1. <You are not allowed to view links. Register or Login>
  2. <You are not allowed to view links. Register or Login>
  3.  
  4. <You are not allowed to view links. Register or Login>Cualquier elemento de una lista
  5. puede a su vez ser otra lista y así
  6. sucesivamente. De esta forma tenemos
  7. lo que se denomina listas anidadas.<You are not allowed to view links. Register or Login>
  8. No hay ninguna restricción en cuanto
  9. a la forma de anidamiento, pudiéndose
  10. mezclar ambos tipos de listas.</You are not allowed to view links. Register or Login>
  11.  
  12. <You are not allowed to view links. Register or Login>Una lista anidada</You are not allowed to view links. Register or Login>
  13.  
  14. <You are not allowed to view links. Register or Login>
  15.   <You are not allowed to view links. Register or Login>uno</You are not allowed to view links. Register or Login>
  16.   <You are not allowed to view links. Register or Login>dos
  17.     <You are not allowed to view links. Register or Login type="square">
  18.       <You are not allowed to view links. Register or Login>Asturias</You are not allowed to view links. Register or Login>
  19.       <You are not allowed to view links. Register or Login>Cantabria</You are not allowed to view links. Register or Login>
  20.       <You are not allowed to view links. Register or Login>Galicia</You are not allowed to view links. Register or Login>
  21.     </You are not allowed to view links. Register or Login>
  22.   </You are not allowed to view links. Register or Login>
  23.   <You are not allowed to view links. Register or Login>tres</You are not allowed to view links. Register or Login>
  24. </You are not allowed to view links. Register or Login>
  25.  
  26. </You are not allowed to view links. Register or Login>
  27. </You are not allowed to view links. Register or Login>
  28.  

Listas DESCRIPTIVAS

Código: HTML5
  1. <You are not allowed to view links. Register or Login>
  2. <You are not allowed to view links. Register or Login>
  3.  
  4. <You are not allowed to view links. Register or Login>Las listas descriptivas están
  5. formadas por términos a definir junto
  6. con las correspondientes definiciones.</You are not allowed to view links. Register or Login>
  7.  
  8. <You are not allowed to view links. Register or Login>Una lista descriptiva</You are not allowed to view links. Register or Login>
  9.  
  10. <You are not allowed to view links. Register or Login>
  11.   <You are not allowed to view links. Register or Login>HTML</You are not allowed to view links. Register or Login>
  12.   <You are not allowed to view links. Register or Login><You are not allowed to view links. Register or Login>HyperText Markup Language</You are not allowed to view links. Register or Login> es
  13.   la lengua franca para publicar
  14.   hipermedia en el World Wide Web.
  15.   </You are not allowed to view links. Register or Login>
  16.   <You are not allowed to view links. Register or Login>DHTML</You are not allowed to view links. Register or Login>
  17.   <You are not allowed to view links. Register or Login>HTML Dinámico. ¡ Esto si que es
  18.   díficil de definir!.<You are not allowed to view links. Register or Login>En realidad
  19.   es un conjunto de tecnologías.
  20.   </You are not allowed to view links. Register or Login>
  21. </You are not allowed to view links. Register or Login>
  22.  
  23. </You are not allowed to view links. Register or Login>
  24. </You are not allowed to view links. Register or Login>
  25.  

MARCOS

Marco VERTICAL

Código: HTML5
  1. <You are not allowed to view links. Register or Login>
  2.  
  3. <frameset cols="30%,40%,30%">
  4.  
  5.   <frame src="ejframe1.html">
  6.   <frame src="ejframe2.html">
  7.   <frame src="ejframe3.html">
  8.  
  9. </frameset>
  10.  
  11. </You are not allowed to view links. Register or Login>
  12.  

Marco en HORIZONTAL

Código: HTML5
  1. <You are not allowed to view links. Register or Login>
  2.  
  3. <frameset rows="30%,40%,30%">
  4.  
  5.   <frame src="ejframe1.html">
  6.   <frame src="ejframe2.html">
  7.   <frame src="ejframe3.html">
  8.  
  9. </frameset>
  10.  
  11. </You are not allowed to view links. Register or Login>
  12.  

Marcos y CONTENIDO ALTERNATIVO

Código: HTML5
  1. <You are not allowed to view links. Register or Login>
  2.  
  3. <frameset cols="50%,50%">
  4.  
  5. <frame src="ejframe1.html">
  6.  
  7. <frameset rows="60%,40%">
  8.   <frame src="ejframe2.html">
  9.   <frame src="ejframe3.html">
  10. </frameset>
  11.  
  12. <!-- Contenido alternativo para
  13. navegadores que no admiten marcos -->
  14.  
  15. <noframes>
  16. <You are not allowed to view links. Register or Login>
  17.   <You are not allowed to view links. Register or Login>Su navegador no admite marcos</You are not allowed to view links. Register or Login>
  18. </You are not allowed to view links. Register or Login>
  19. </noframes>
  20.  
  21. </frameset>
  22.  
  23. </You are not allowed to view links. Register or Login>
  24.  

Marcos en LINEA

Código: HTML5
  1. <You are not allowed to view links. Register or Login>
  2. <You are not allowed to view links. Register or Login bgcolor="yellow">
  3.  
  4. <You are not allowed to view links. Register or Login width="300" height="275"
  5. src="http://www.uniovi.es/">
  6. </You are not allowed to view links. Register or Login>
  7.  
  8. </You are not allowed to view links. Register or Login>
  9. </You are not allowed to view links. Register or Login>
  10.  

HIPERVINCULOS

Ejemplos de HIPERVINCULOS

Código: HTML5
  1. <You are not allowed to view links. Register or Login>
  2. <You are not allowed to view links. Register or Login>
  3.  
  4. <You are not allowed to view links. Register or Login>Las referencias a páginas del
  5. mismo web pueden ser absolutas o
  6. relativas.<You are not allowed to view links. Register or Login>
  7.  
  8. <You are not allowed to view links. Register or Login href="../index.php">Esto es un
  9. enlace</You are not allowed to view links. Register or Login> a una página de éste web.
  10. (URL relativa)
  11. </You are not allowed to view links. Register or Login>
  12.  
  13. <You are not allowed to view links. Register or Login>Las referencias a páginas de otros
  14. webs sólo pueden ser absolutas (si están en la misma máquina) o URLs completas.<You are not allowed to view links. Register or Login>
  15.  
  16. <You are not allowed to view links. Register or Login href="http://www.w3.org/">Esto es
  17. un enlace</You are not allowed to view links. Register or Login> a otra web y en otra máquina.</You are not allowed to view links. Register or Login>
  18.  
  19. </You are not allowed to view links. Register or Login>
  20. </You are not allowed to view links. Register or Login>
  21.  

MARCADORES (fragmentos)

Código: HTML5
  1. <You are not allowed to view links. Register or Login>
  2. <You are not allowed to view links. Register or Login>
  3.  
  4. <You are not allowed to view links. Register or Login>También se pueden hacer referencias
  5. a otras partes de la página identificadas
  6. mediante un marcador.<You are not allowed to view links. Register or Login></You are not allowed to view links. Register or Login>
  7.  
  8. <You are not allowed to view links. Register or Login><You are not allowed to view links. Register or Login>
  9. <You are not allowed to view links. Register or Login href="#linea15">Haz click aquí</You are not allowed to view links. Register or Login>
  10.  para ir a la línea 15.<You are not allowed to view links. Register or Login>
  11. 01<You are not allowed to view links. Register or Login>
  12. 02<You are not allowed to view links. Register or Login>
  13. 03<You are not allowed to view links. Register or Login>
  14. 04<You are not allowed to view links. Register or Login>
  15. 05<You are not allowed to view links. Register or Login>
  16. 06<You are not allowed to view links. Register or Login>
  17. 07<You are not allowed to view links. Register or Login>
  18. 08<You are not allowed to view links. Register or Login>
  19. 09<You are not allowed to view links. Register or Login>
  20. 10<You are not allowed to view links. Register or Login>
  21. 11<You are not allowed to view links. Register or Login>
  22. 12<You are not allowed to view links. Register or Login>
  23. 13<You are not allowed to view links. Register or Login>
  24. 14<You are not allowed to view links. Register or Login>
  25. <You are not allowed to view links. Register or Login name="linea15">15</You are not allowed to view links. Register or Login><You are not allowed to view links. Register or Login>
  26. 16<You are not allowed to view links. Register or Login>
  27. 17<You are not allowed to view links. Register or Login>
  28. 18<You are not allowed to view links. Register or Login>
  29. 19<You are not allowed to view links. Register or Login>
  30. 20<You are not allowed to view links. Register or Login>
  31. 21<You are not allowed to view links. Register or Login>
  32. 22<You are not allowed to view links. Register or Login>
  33. 23<You are not allowed to view links. Register or Login>
  34. 24<You are not allowed to view links. Register or Login>
  35. 25<You are not allowed to view links. Register or Login>
  36. 26<You are not allowed to view links. Register or Login>
  37. 27<You are not allowed to view links. Register or Login>
  38. 28<You are not allowed to view links. Register or Login>
  39. 29<You are not allowed to view links. Register or Login>
  40. 30<You are not allowed to view links. Register or Login>
  41. 31<You are not allowed to view links. Register or Login>
  42. 32<You are not allowed to view links. Register or Login>
  43. 33<You are not allowed to view links. Register or Login>
  44. 34<You are not allowed to view links. Register or Login>
  45. 35<You are not allowed to view links. Register or Login>
  46. 36<You are not allowed to view links. Register or Login>
  47. 37<You are not allowed to view links. Register or Login>
  48. 38<You are not allowed to view links. Register or Login>
  49. 39<You are not allowed to view links. Register or Login>
  50. 40<You are not allowed to view links. Register or Login>
  51. 41<You are not allowed to view links. Register or Login>
  52. 42<You are not allowed to view links. Register or Login>
  53. 43<You are not allowed to view links. Register or Login>
  54. 44<You are not allowed to view links. Register or Login>
  55. 45<You are not allowed to view links. Register or Login>
  56. 46<You are not allowed to view links. Register or Login>
  57. 47<You are not allowed to view links. Register or Login>
  58. 48<You are not allowed to view links. Register or Login>
  59. 49<You are not allowed to view links. Register or Login>
  60. </You are not allowed to view links. Register or Login>
  61.  
  62. </You are not allowed to view links. Register or Login>
  63. </You are not allowed to view links. Register or Login>
  64.  

En VENTANA NUEVA

Código: HTML5
  1. <You are not allowed to view links. Register or Login>
  2. <You are not allowed to view links. Register or Login>
  3.  
  4. <You are not allowed to view links. Register or Login>También se pueden referenciar,
  5. directamente, marcadores de otras páginas
  6. del web o de otros webs.</You are not allowed to view links. Register or Login>
  7.  
  8. <You are not allowed to view links. Register or Login>
  9. <You are not allowed to view links. Register or Login href="http://www.uniovi.es/" target="_blank">
  10. Esto es un enlace</You are not allowed to view links. Register or Login> a una página de otro web.
  11. </You are not allowed to view links. Register or Login>
  12.  
  13. <You are not allowed to view links. Register or Login><You are not allowed to view links. Register or Login>Mediante el atributo <You are not allowed to view links. Register or Login>target</You are not allowed to view links. Register or Login> se
  14. especifica donde se visualiza el contenido
  15. de la página referenciada.<You are not allowed to view links. Register or Login>
  16. Si el valor del atributo es <You are not allowed to view links. Register or Login>_blank</You are not allowed to view links. Register or Login>
  17. se muestra en una nueva ventana.</You are not allowed to view links. Register or Login>
  18.  
  19. </You are not allowed to view links. Register or Login>
  20. </You are not allowed to view links. Register or Login>
  21.  

Fuera de MARCOS

Código: HTML5
  1. <You are not allowed to view links. Register or Login>
  2. <You are not allowed to view links. Register or Login> <!-- mostrar en marco -->
  3.  
  4. <You are not allowed to view links. Register or Login>
  5. Cuando se utilizan marcos (frames) las
  6. páginas referenciadas se muestran en éstos
  7. (como ocurre con el ejemplo). Si se quiere
  8. mostrar un documento fuera de los marcos
  9. debe especificarse el valor <You are not allowed to view links. Register or Login>_top</You are not allowed to view links. Register or Login>
  10. para el atributo <You are not allowed to view links. Register or Login>target</You are not allowed to view links. Register or Login>.
  11. </You are not allowed to view links. Register or Login>
  12.  
  13. <You are not allowed to view links. Register or Login>
  14. <You are not allowed to view links. Register or Login href="http://web.uniovi.es/"
  15. target="_top">Haz click aquí</You are not allowed to view links. Register or Login>
  16. </You are not allowed to view links. Register or Login>
  17.  
  18. </You are not allowed to view links. Register or Login>
  19. </You are not allowed to view links. Register or Login>
  20.  

Enlaces PARA ENVIOS DE MENSAJES

Código: HTML5
  1. <You are not allowed to view links. Register or Login>
  2. <You are not allowed to view links. Register or Login>
  3.  
  4. <You are not allowed to view links. Register or Login>Mensaje</You are not allowed to view links. Register or Login>
  5.  
  6. <You are not allowed to view links. Register or Login><You are not allowed to view links. Register or Login href="mailto:nadie@xxx.es">Envía
  7. un E-mail</You are not allowed to view links. Register or Login></You are not allowed to view links. Register or Login>
  8.  
  9. <You are not allowed to view links. Register or Login>Mensaje con título</You are not allowed to view links. Register or Login>
  10.  
  11. <You are not allowed to view links. Register or Login><You are not allowed to view links. Register or Login href="mailto:nadie@xxx.es?Subject=
  12. Hola de nuevo">Envía un E-mail</You are not allowed to view links. Register or Login></You are not allowed to view links. Register or Login>
  13.  
  14. <You are not allowed to view links. Register or Login>Mensaje con título y contenido</You are not allowed to view links. Register or Login>
  15. <You are not allowed to view links. Register or Login><You are not allowed to view links. Register or Login href="mailto:nadie@xxx.es?Subject=
  16. Hola de nuevo&amp;Body=Escribe algo aquí">
  17. Envía un E-mail</You are not allowed to view links. Register or Login></You are not allowed to view links. Register or Login>
  18.  
  19. </You are not allowed to view links. Register or Login>
  20. </You are not allowed to view links. Register or Login>
  21.  

TABLAS

Ejemplos de TABLAS


Código: HTML5
  1. <You are not allowed to view links. Register or Login>
  2. <You are not allowed to view links. Register or Login>
  3.  
  4. <You are not allowed to view links. Register or Login>
  5. La tabla está constituida por
  6. filas de datos.
  7. </You are not allowed to view links. Register or Login>
  8.  
  9. <You are not allowed to view links. Register or Login border="1">
  10. <!-- Primera fila -->
  11. <You are not allowed to view links. Register or Login>
  12.   <You are not allowed to view links. Register or Login>Dato 1</You are not allowed to view links. Register or Login>
  13.   <You are not allowed to view links. Register or Login>Dato 2</You are not allowed to view links. Register or Login>
  14.   <You are not allowed to view links. Register or Login>Dato 3</You are not allowed to view links. Register or Login>
  15. </You are not allowed to view links. Register or Login>
  16. <!-- Segunda fila -->
  17. <You are not allowed to view links. Register or Login>
  18.   <You are not allowed to view links. Register or Login>Dato 4</You are not allowed to view links. Register or Login>
  19.   <You are not allowed to view links. Register or Login>Dato 5</You are not allowed to view links. Register or Login>
  20.   <You are not allowed to view links. Register or Login>Dato 6</You are not allowed to view links. Register or Login>
  21. </You are not allowed to view links. Register or Login>
  22. </You are not allowed to view links. Register or Login>
  23.  
  24. </You are not allowed to view links. Register or Login>
  25. </You are not allowed to view links. Register or Login>
  26.  

Descripcion Y BORDES

Código: HTML5
  1. <You are not allowed to view links. Register or Login>
  2. <You are not allowed to view links. Register or Login>
  3.  
  4. <You are not allowed to view links. Register or Login>Con la etiqueta <You are not allowed to view links. Register or Login>&lt;caption&gt;
  5. </You are not allowed to view links. Register or Login>se describe la tabla.</You are not allowed to view links. Register or Login>
  6.  
  7. <You are not allowed to view links. Register or Login border="1">
  8. <You are not allowed to view links. Register or Login>Borde normal</You are not allowed to view links. Register or Login>
  9. <You are not allowed to view links. Register or Login>
  10.   <You are not allowed to view links. Register or Login>Primera</You are not allowed to view links. Register or Login>
  11.   <You are not allowed to view links. Register or Login>fila</You are not allowed to view links. Register or Login>
  12. </You are not allowed to view links. Register or Login>
  13. <You are not allowed to view links. Register or Login>
  14.   <You are not allowed to view links. Register or Login>Segunda</You are not allowed to view links. Register or Login>
  15.   <You are not allowed to view links. Register or Login>fila</You are not allowed to view links. Register or Login>
  16. </You are not allowed to view links. Register or Login>
  17. </You are not allowed to view links. Register or Login>
  18.  
  19. <You are not allowed to view links. Register or Login><You are not allowed to view links. Register or Login></You are not allowed to view links. Register or Login>
  20.  
  21. <You are not allowed to view links. Register or Login border="10">
  22. <You are not allowed to view links. Register or Login>Borde grueso</You are not allowed to view links. Register or Login>
  23. <You are not allowed to view links. Register or Login>
  24.   <You are not allowed to view links. Register or Login>Primera</You are not allowed to view links. Register or Login>
  25.   <You are not allowed to view links. Register or Login>fila</You are not allowed to view links. Register or Login>
  26. </You are not allowed to view links. Register or Login>
  27. <You are not allowed to view links. Register or Login>
  28.   <You are not allowed to view links. Register or Login>Segunda</You are not allowed to view links. Register or Login>
  29.   <You are not allowed to view links. Register or Login>fila</You are not allowed to view links. Register or Login>
  30. </You are not allowed to view links. Register or Login>
  31. </You are not allowed to view links. Register or Login>
  32.  
  33. </You are not allowed to view links. Register or Login>
  34. </You are not allowed to view links. Register or Login>
  35.  

Con CELDAS de CABECERA

Código: HTML5
  1. <You are not allowed to view links. Register or Login>
  2. <You are not allowed to view links. Register or Login>
  3.  
  4. <You are not allowed to view links. Register or Login>
  5. La etiqueta <You are not allowed to view links. Register or Login>&lt;th&gt;</You are not allowed to view links. Register or Login> permite
  6. indicar las celdas cabecera de la tabla.
  7. <You are not allowed to view links. Register or Login></You are not allowed to view links. Register or Login>
  8.  
  9. <You are not allowed to view links. Register or Login>Con cabeceras horizontales</You are not allowed to view links. Register or Login>
  10. <You are not allowed to view links. Register or Login border="0">  <!-- Sin bordes -->
  11. <You are not allowed to view links. Register or Login>
  12.   <You are not allowed to view links. Register or Login>Encabezado 1</You are not allowed to view links. Register or Login>
  13.   <You are not allowed to view links. Register or Login>Encabezado 2</You are not allowed to view links. Register or Login>
  14.   <You are not allowed to view links. Register or Login>Encabezado 3</You are not allowed to view links. Register or Login>
  15. </You are not allowed to view links. Register or Login>
  16. <You are not allowed to view links. Register or Login>
  17.   <You are not allowed to view links. Register or Login>Dato 1</You are not allowed to view links. Register or Login>
  18.   <You are not allowed to view links. Register or Login>Dato 2</You are not allowed to view links. Register or Login>
  19.   <You are not allowed to view links. Register or Login>Dato 3</You are not allowed to view links. Register or Login>
  20. </You are not allowed to view links. Register or Login>
  21. <You are not allowed to view links. Register or Login>
  22.   <You are not allowed to view links. Register or Login>Dato 4</You are not allowed to view links. Register or Login>
  23.   <You are not allowed to view links. Register or Login>Dato 5</You are not allowed to view links. Register or Login>
  24.   <You are not allowed to view links. Register or Login>Dato 6</You are not allowed to view links. Register or Login>
  25. </You are not allowed to view links. Register or Login>
  26. </You are not allowed to view links. Register or Login>
  27.  
  28. <You are not allowed to view links. Register or Login><You are not allowed to view links. Register or Login></You are not allowed to view links. Register or Login>
  29.  
  30. <You are not allowed to view links. Register or Login>Con cabeceras verticales</You are not allowed to view links. Register or Login>
  31. <You are not allowed to view links. Register or Login border="1">
  32. <You are not allowed to view links. Register or Login>
  33.   <You are not allowed to view links. Register or Login>Encabezado 1</You are not allowed to view links. Register or Login>
  34.   <You are not allowed to view links. Register or Login>Dato 1</You are not allowed to view links. Register or Login>
  35.   <You are not allowed to view links. Register or Login>Dato 2</You are not allowed to view links. Register or Login>
  36. </You are not allowed to view links. Register or Login>
  37. <You are not allowed to view links. Register or Login>
  38.   <You are not allowed to view links. Register or Login>Encabezado 2</You are not allowed to view links. Register or Login>
  39.   <You are not allowed to view links. Register or Login>Dato 3</You are not allowed to view links. Register or Login>
  40.   <You are not allowed to view links. Register or Login>Dato 4</You are not allowed to view links. Register or Login>
  41. </You are not allowed to view links. Register or Login>
  42. </You are not allowed to view links. Register or Login>
  43.  
  44. </You are not allowed to view links. Register or Login>
  45. </You are not allowed to view links. Register or Login>
  46.  

Espaciados de CELDAS de la TABLA

Código: HTML5
  1. <You are not allowed to view links. Register or Login>
  2. <You are not allowed to view links. Register or Login>
  3.  
  4. <You are not allowed to view links. Register or Login>
  5. Para indicar margenes de separación en
  6. una tabla se utilizan los atributos:<You are not allowed to view links. Register or Login>
  7. <You are not allowed to view links. Register or Login>cellpadding</You are not allowed to view links. Register or Login>: espacio dentro de las
  8. celdas (entre borde y contenido).<You are not allowed to view links. Register or Login>
  9. <You are not allowed to view links. Register or Login>cellspacing</You are not allowed to view links. Register or Login>: espacio entre celdas.
  10. <You are not allowed to view links. Register or Login></You are not allowed to view links. Register or Login>
  11.  
  12. <You are not allowed to view links. Register or Login>Tabla con cellpadding="10"</You are not allowed to view links. Register or Login>
  13. <You are not allowed to view links. Register or Login border="1" cellpadding="10">
  14. <You are not allowed to view links. Register or Login>
  15.   <You are not allowed to view links. Register or Login>---- Primera</You are not allowed to view links. Register or Login>
  16.   <You are not allowed to view links. Register or Login>fila ----</You are not allowed to view links. Register or Login>
  17. </You are not allowed to view links. Register or Login>
  18. <You are not allowed to view links. Register or Login>
  19.   <You are not allowed to view links. Register or Login>---- Segunda</You are not allowed to view links. Register or Login>
  20.   <You are not allowed to view links. Register or Login>fila ----</You are not allowed to view links. Register or Login>
  21. </You are not allowed to view links. Register or Login>
  22. </You are not allowed to view links. Register or Login>
  23.  
  24. <You are not allowed to view links. Register or Login><You are not allowed to view links. Register or Login>Tabla con cellspacing="10"</You are not allowed to view links. Register or Login>
  25. <You are not allowed to view links. Register or Login border="1" cellspacing="10">
  26. <You are not allowed to view links. Register or Login>
  27.   <You are not allowed to view links. Register or Login>---- Primera</You are not allowed to view links. Register or Login>
  28.   <You are not allowed to view links. Register or Login>fila ----</You are not allowed to view links. Register or Login>
  29. </You are not allowed to view links. Register or Login>
  30. <You are not allowed to view links. Register or Login>
  31.   <You are not allowed to view links. Register or Login>---- Segunda</You are not allowed to view links. Register or Login>
  32.   <You are not allowed to view links. Register or Login>fila ----</You are not allowed to view links. Register or Login>
  33. </You are not allowed to view links. Register or Login>
  34. </You are not allowed to view links. Register or Login>
  35.  
  36. </You are not allowed to view links. Register or Login>
  37. </You are not allowed to view links. Register or Login>
  38.  

Union de CELDAS de la TABLA

Código: HTML5
  1. <You are not allowed to view links. Register or Login>
  2. <You are not allowed to view links. Register or Login>
  3.  
  4. <You are not allowed to view links. Register or Login>
  5. Se puede conseguir cualquier forma de
  6. tabla uniendo celdas horizontal o
  7. verticalmente. La unión de celdas se
  8. indica mediante los atributos:<You are not allowed to view links. Register or Login>
  9. <You are not allowed to view links. Register or Login>colspan</You are not allowed to view links. Register or Login> para unir celdas de una
  10. misma fila  <You are not allowed to view links. Register or Login>
  11. <You are not allowed to view links. Register or Login>rowspan</You are not allowed to view links. Register or Login> para unir celdas de una
  12. misma columna  <You are not allowed to view links. Register or Login><You are not allowed to view links. Register or Login>
  13. En ambos casos el valor del atributo es
  14. el número de celdas a unir.
  15. <You are not allowed to view links. Register or Login></You are not allowed to view links. Register or Login>
  16.  
  17. <You are not allowed to view links. Register or Login border="1">
  18. <You are not allowed to view links. Register or Login>
  19.   <You are not allowed to view links. Register or Login>Uno</You are not allowed to view links. Register or Login>
  20.   <You are not allowed to view links. Register or Login>Dos</You are not allowed to view links. Register or Login>
  21.   <You are not allowed to view links. Register or Login>Tres</You are not allowed to view links. Register or Login>
  22.   <You are not allowed to view links. Register or Login rowspan="3">Cuatro</You are not allowed to view links. Register or Login>
  23. </You are not allowed to view links. Register or Login>
  24. <You are not allowed to view links. Register or Login>
  25.   <You are not allowed to view links. Register or Login rowspan="2">Cinco</You are not allowed to view links. Register or Login>
  26.   <You are not allowed to view links. Register or Login colspan="2">Seis</You are not allowed to view links. Register or Login>
  27. </You are not allowed to view links. Register or Login>
  28. <You are not allowed to view links. Register or Login>
  29.   <You are not allowed to view links. Register or Login>Siete</You are not allowed to view links. Register or Login>
  30.   <You are not allowed to view links. Register or Login>Ocho</You are not allowed to view links. Register or Login>
  31. </You are not allowed to view links. Register or Login>
  32. </You are not allowed to view links. Register or Login>
  33.  
  34. <You are not allowed to view links. Register or Login>Obsérvese que al unir celdas éstas sólo se declaran en la primera fila o columna de la unión.</You are not allowed to view links. Register or Login>
  35.  
  36. </You are not allowed to view links. Register or Login>
  37. </You are not allowed to view links. Register or Login>
  38.  

Tamaño y ALINEAMIENTO de la TABLA

Código: HTML5
  1. <You are not allowed to view links. Register or Login>
  2. <You are not allowed to view links. Register or Login>
  3.  
  4. <You are not allowed to view links. Register or Login>
  5. Atributos para establecer el tamaño y
  6. el alineamiento de la tabla:<You are not allowed to view links. Register or Login>
  7. <You are not allowed to view links. Register or Login>width</You are not allowed to view links. Register or Login> Fija la anchura de la
  8. tabla (en pixeles o porcentaje)<You are not allowed to view links. Register or Login>
  9. <You are not allowed to view links. Register or Login>align</You are not allowed to view links. Register or Login> Fija la posición de la
  10. tabla (<You are not allowed to view links. Register or Login>left</You are not allowed to view links. Register or Login>, <You are not allowed to view links. Register or Login>center</You are not allowed to view links. Register or Login> y <You are not allowed to view links. Register or Login>right</You are not allowed to view links. Register or Login>).
  11. <You are not allowed to view links. Register or Login></You are not allowed to view links. Register or Login>
  12.  
  13. <You are not allowed to view links. Register or Login border="1" align="center" width="70%">
  14. <You are not allowed to view links. Register or Login>
  15.   <You are not allowed to view links. Register or Login>Uno</You are not allowed to view links. Register or Login>
  16.   <You are not allowed to view links. Register or Login>Dos</You are not allowed to view links. Register or Login>
  17.   <You are not allowed to view links. Register or Login>Tres</You are not allowed to view links. Register or Login>
  18. </You are not allowed to view links. Register or Login>
  19. <You are not allowed to view links. Register or Login>
  20.   <You are not allowed to view links. Register or Login>Cuatro</You are not allowed to view links. Register or Login>
  21.   <You are not allowed to view links. Register or Login>Cinco</You are not allowed to view links. Register or Login>
  22.   <You are not allowed to view links. Register or Login>Seis</You are not allowed to view links. Register or Login>
  23. </You are not allowed to view links. Register or Login>
  24. </You are not allowed to view links. Register or Login>
  25.  
  26. </You are not allowed to view links. Register or Login>
  27. </You are not allowed to view links. Register or Login>
  28.  

Inclusion de ETIQUETAS

Código: HTML5
  1. <You are not allowed to view links. Register or Login>
  2. <You are not allowed to view links. Register or Login>
  3.  
  4. <You are not allowed to view links. Register or Login>Las celdas de una tabla pueden
  5. contener etiquetas HTML</You are not allowed to view links. Register or Login>
  6.  
  7. <You are not allowed to view links. Register or Login border="3" width="80%">
  8. <You are not allowed to view links. Register or Login>
  9.   <You are not allowed to view links. Register or Login>Uno</You are not allowed to view links. Register or Login>
  10.   <You are not allowed to view links. Register or Login>Dos<You are not allowed to view links. Register or Login>
  11.       <You are not allowed to view links. Register or Login>Esto es un párrafo</You are not allowed to view links. Register or Login>
  12.   </You are not allowed to view links. Register or Login>
  13.   <You are not allowed to view links. Register or Login>Tres<You are not allowed to view links. Register or Login></You are not allowed to view links. Register or Login>
  14. </You are not allowed to view links. Register or Login>
  15. <You are not allowed to view links. Register or Login>
  16.   <You are not allowed to view links. Register or Login>Cuatro
  17.       <You are not allowed to view links. Register or Login border="1">
  18.       <You are not allowed to view links. Register or Login>
  19.         <You are not allowed to view links. Register or Login><You are not allowed to view links. Register or Login></You are not allowed to view links. Register or Login>
  20.         <You are not allowed to view links. Register or Login><You are not allowed to view links. Register or Login></You are not allowed to view links. Register or Login>
  21.       </You are not allowed to view links. Register or Login>
  22.       <You are not allowed to view links. Register or Login>
  23.         <You are not allowed to view links. Register or Login><You are not allowed to view links. Register or Login></You are not allowed to view links. Register or Login>
  24.         <You are not allowed to view links. Register or Login><You are not allowed to view links. Register or Login></You are not allowed to view links. Register or Login>
  25.       </You are not allowed to view links. Register or Login>
  26.       </You are not allowed to view links. Register or Login>
  27.   </You are not allowed to view links. Register or Login>
  28.   <You are not allowed to view links. Register or Login>Cinco</You are not allowed to view links. Register or Login>
  29.   <You are not allowed to view links. Register or Login><You are not allowed to view links. Register or Login>Seis</You are not allowed to view links. Register or Login>
  30.       <You are not allowed to view links. Register or Login>
  31.         <You are not allowed to view links. Register or Login>Asturias</You are not allowed to view links. Register or Login>
  32.         <You are not allowed to view links. Register or Login>Cantabria</You are not allowed to view links. Register or Login>
  33.         <You are not allowed to view links. Register or Login>Galicia</You are not allowed to view links. Register or Login>
  34.       </You are not allowed to view links. Register or Login>
  35.   </You are not allowed to view links. Register or Login>
  36. </You are not allowed to view links. Register or Login>
  37. </You are not allowed to view links. Register or Login>
  38.  
  39. </You are not allowed to view links. Register or Login>
  40. </You are not allowed to view links. Register or Login>
  41.  

Alineamiento de CELDAS

Código: HTML5
  1. <You are not allowed to view links. Register or Login>
  2. <You are not allowed to view links. Register or Login>
  3.  
  4. <You are not allowed to view links. Register or Login>
  5. Mediante los atributos <You are not allowed to view links. Register or Login>align</You are not allowed to view links. Register or Login> y
  6. <You are not allowed to view links. Register or Login>valign</You are not allowed to view links. Register or Login> se puede establecer el
  7. alineamiento horizontal y vertical para
  8. cada celda.</You are not allowed to view links. Register or Login>
  9. <You are not allowed to view links. Register or Login>También se puede fijar el alineamiento
  10. de una fila de la tabla con el atributo
  11. <You are not allowed to view links. Register or Login>align</You are not allowed to view links. Register or Login>.<You are not allowed to view links. Register or Login>
  12. </You are not allowed to view links. Register or Login>
  13.  
  14. <You are not allowed to view links. Register or Login border="1" width="60%">
  15. <You are not allowed to view links. Register or Login align="center">
  16.   <You are not allowed to view links. Register or Login valign="top">Uno</You are not allowed to view links. Register or Login>
  17.   <You are not allowed to view links. Register or Login>Dos</You are not allowed to view links. Register or Login>
  18.   <You are not allowed to view links. Register or Login align="right">Tres<You are not allowed to view links. Register or Login><You are not allowed to view links. Register or Login></You are not allowed to view links. Register or Login>
  19. </You are not allowed to view links. Register or Login>
  20. <You are not allowed to view links. Register or Login>
  21.   <You are not allowed to view links. Register or Login>Cuatro<You are not allowed to view links. Register or Login><You are not allowed to view links. Register or Login></You are not allowed to view links. Register or Login>
  22.   <You are not allowed to view links. Register or Login valign="bottom">Cinco</You are not allowed to view links. Register or Login>
  23.   <You are not allowed to view links. Register or Login align="center">Seis</You are not allowed to view links. Register or Login>
  24. </You are not allowed to view links. Register or Login>
  25. </You are not allowed to view links. Register or Login>
  26.  
  27. </You are not allowed to view links. Register or Login>
  28. </You are not allowed to view links. Register or Login>
  29.  

Tamaños de las CELDAS

Código: HTML5
  1. <You are not allowed to view links. Register or Login>
  2. <You are not allowed to view links. Register or Login>
  3.  
  4. <You are not allowed to view links. Register or Login border="1" width="80%">
  5. <You are not allowed to view links. Register or Login>
  6.   <You are not allowed to view links. Register or Login width="33%">Uno</You are not allowed to view links. Register or Login>
  7.   <You are not allowed to view links. Register or Login width="33%">Dos</You are not allowed to view links. Register or Login>
  8.   <You are not allowed to view links. Register or Login width="33%">Tres</You are not allowed to view links. Register or Login>
  9. </You are not allowed to view links. Register or Login>
  10. <You are not allowed to view links. Register or Login>
  11.   <You are not allowed to view links. Register or Login width="33%">Cuatro</You are not allowed to view links. Register or Login>
  12.   <You are not allowed to view links. Register or Login width="33%" height="120">Cinco</You are not allowed to view links. Register or Login>
  13.   <You are not allowed to view links. Register or Login width="33%">Seis</You are not allowed to view links. Register or Login>
  14. </You are not allowed to view links. Register or Login>
  15. </You are not allowed to view links. Register or Login>
  16.  
  17. </You are not allowed to view links. Register or Login>
  18. </You are not allowed to view links. Register or Login>
  19.  

Color de FONDO

Código: HTML5
  1. <You are not allowed to view links. Register or Login>
  2. <You are not allowed to view links. Register or Login>
  3.  
  4. <You are not allowed to view links. Register or Login bgcolor="red"
  5. border="1" width="80%">
  6. <You are not allowed to view links. Register or Login>
  7.   <You are not allowed to view links. Register or Login>Uno</You are not allowed to view links. Register or Login>
  8.   <You are not allowed to view links. Register or Login>Dos</You are not allowed to view links. Register or Login>
  9.   <You are not allowed to view links. Register or Login>Tres</You are not allowed to view links. Register or Login>
  10. </You are not allowed to view links. Register or Login>
  11. <You are not allowed to view links. Register or Login>
  12.   <You are not allowed to view links. Register or Login>Cuatro</You are not allowed to view links. Register or Login>
  13.   <You are not allowed to view links. Register or Login>Cinco</You are not allowed to view links. Register or Login>
  14.   <You are not allowed to view links. Register or Login>Seis</You are not allowed to view links. Register or Login>
  15. </You are not allowed to view links. Register or Login>
  16. </You are not allowed to view links. Register or Login>
  17.  
  18. </You are not allowed to view links. Register or Login>
  19. </You are not allowed to view links. Register or Login>
  20.  

CELDAS con FONDO

Código: HTML5
  1. <You are not allowed to view links. Register or Login>
  2. <You are not allowed to view links. Register or Login>
  3.  
  4. <You are not allowed to view links. Register or Login border="1" width="80%" align="center">
  5. <You are not allowed to view links. Register or Login bgcolor="yellow">
  6.  <You are not allowed to view links. Register or Login>Uno</You are not allowed to view links. Register or Login>
  7.  <You are not allowed to view links. Register or Login>Dos</You are not allowed to view links. Register or Login>
  8.  <You are not allowed to view links. Register or Login>Tres</You are not allowed to view links. Register or Login>
  9. </You are not allowed to view links. Register or Login>
  10. <You are not allowed to view links. Register or Login>
  11.  <You are not allowed to view links. Register or Login bgcolor="#DAA520">Cuatro</You are not allowed to view links. Register or Login>
  12.  <You are not allowed to view links. Register or Login>Cinco</You are not allowed to view links. Register or Login>
  13.  <You are not allowed to view links. Register or Login bgcolor="green">Seis</You are not allowed to view links. Register or Login>
  14. </You are not allowed to view links. Register or Login>
  15. </You are not allowed to view links. Register or Login>
  16.  
  17. </You are not allowed to view links. Register or Login>
  18. </You are not allowed to view links. Register or Login>
  19.  

Con CELDAS VACIAS

Código: HTML5
  1. <You are not allowed to view links. Register or Login>
  2. <You are not allowed to view links. Register or Login>
  3.  
  4. <You are not allowed to view links. Register or Login border="5" cellspacing="5"
  5. bgcolor="#DAA520">
  6. <You are not allowed to view links. Register or Login>
  7.   <You are not allowed to view links. Register or Login>Uno</You are not allowed to view links. Register or Login>
  8.   <You are not allowed to view links. Register or Login></You are not allowed to view links. Register or Login>
  9.   <You are not allowed to view links. Register or Login>Dos</You are not allowed to view links. Register or Login>
  10. </You are not allowed to view links. Register or Login>
  11. <You are not allowed to view links. Register or Login>
  12.   <You are not allowed to view links. Register or Login>Tres</You are not allowed to view links. Register or Login>
  13.   <You are not allowed to view links. Register or Login>Cuatro</You are not allowed to view links. Register or Login>
  14.   <You are not allowed to view links. Register or Login>Cinco</You are not allowed to view links. Register or Login>
  15. </You are not allowed to view links. Register or Login>
  16. </You are not allowed to view links. Register or Login>
  17.  
  18. <You are not allowed to view links. Register or Login>Si se quieren dejar celdas vacías y
  19. que se vea el borde (y el fondo en algunos navegadores) es necesario poner un espacio
  20. en blanco: <You are not allowed to view links. Register or Login>&amp;nbsp;</You are not allowed to view links. Register or Login><You are not allowed to view links. Register or Login></You are not allowed to view links. Register or Login>
  21.  
  22. <You are not allowed to view links. Register or Login border="5" cellspacing="5"
  23. bgcolor="#DAA520">
  24. <You are not allowed to view links. Register or Login>
  25.   <You are not allowed to view links. Register or Login>Uno</You are not allowed to view links. Register or Login>
  26.   <You are not allowed to view links. Register or Login>&nbsp;</You are not allowed to view links. Register or Login>
  27.   <You are not allowed to view links. Register or Login>Dos</You are not allowed to view links. Register or Login>
  28. </You are not allowed to view links. Register or Login>
  29. <You are not allowed to view links. Register or Login>
  30.   <You are not allowed to view links. Register or Login>Tres</You are not allowed to view links. Register or Login>
  31.   <You are not allowed to view links. Register or Login>Cuatro</You are not allowed to view links. Register or Login>
  32.   <You are not allowed to view links. Register or Login>Cinco</You are not allowed to view links. Register or Login>
  33. </You are not allowed to view links. Register or Login>
  34. </You are not allowed to view links. Register or Login>
  35.  
  36. </You are not allowed to view links. Register or Login>
  37. </You are not allowed to view links. Register or Login>
  38.  

El ATRIBUTO FRAME

Código: HTML5
  1. <You are not allowed to view links. Register or Login>
  2. <You are not allowed to view links. Register or Login>
  3.  
  4. <You are not allowed to view links. Register or Login>Se puede utilizar el atributo
  5. <You are not allowed to view links. Register or Login>frame</You are not allowed to view links. Register or Login> de tablas para indicar que
  6. partes del marco alrededor de la tabla
  7. deben mostrarse.<You are not allowed to view links. Register or Login>
  8. Los valores que puede tomar el atributo
  9. son: <You are not allowed to view links. Register or Login>void</You are not allowed to view links. Register or Login>, <You are not allowed to view links. Register or Login>above</You are not allowed to view links. Register or Login>,
  10. <You are not allowed to view links. Register or Login>below</You are not allowed to view links. Register or Login>, <You are not allowed to view links. Register or Login>hsides</You are not allowed to view links. Register or Login>, <You are not allowed to view links. Register or Login>lhs</You are not allowed to view links. Register or Login>,
  11. <You are not allowed to view links. Register or Login>rhs</You are not allowed to view links. Register or Login>, <You are not allowed to view links. Register or Login>vsides</You are not allowed to view links. Register or Login>, <You are not allowed to view links. Register or Login>box</You are not allowed to view links. Register or Login> y
  12. <You are not allowed to view links. Register or Login>border</You are not allowed to view links. Register or Login>.<You are not allowed to view links. Register or Login></You are not allowed to view links. Register or Login>
  13.  
  14. <You are not allowed to view links. Register or Login frame="vsides" border="10"
  15. cellspacing="5" width="70%">
  16. <You are not allowed to view links. Register or Login>
  17.   <You are not allowed to view links. Register or Login height="100">Uno</You are not allowed to view links. Register or Login>
  18.   <You are not allowed to view links. Register or Login>Dos</You are not allowed to view links. Register or Login>
  19.   <You are not allowed to view links. Register or Login>Tres</You are not allowed to view links. Register or Login>
  20. </You are not allowed to view links. Register or Login>
  21. <You are not allowed to view links. Register or Login>
  22.   <You are not allowed to view links. Register or Login>Cuatro</You are not allowed to view links. Register or Login>
  23.   <You are not allowed to view links. Register or Login height="100">Cinco</You are not allowed to view links. Register or Login>
  24.   <You are not allowed to view links. Register or Login>Seis</You are not allowed to view links. Register or Login>
  25. </You are not allowed to view links. Register or Login>
  26. </You are not allowed to view links. Register or Login>
  27.  
  28. </You are not allowed to view links. Register or Login>
  29. </You are not allowed to view links. Register or Login>
  30.  

CABECERAS

Estilos INCRUSTADOS

Código: HTML5
  1. <You are not allowed to view links. Register or Login>
  2.  
  3. <You are not allowed to view links. Register or Login>
  4.  
  5. <You are not allowed to view links. Register or Login type="text/css">
  6. <!--
  7.  h1.rojo {color: red}
  8.  h2.azul {color: blue}
  9.  h3.verde {color: green}
  10. -->
  11. </You are not allowed to view links. Register or Login>
  12.  
  13. </You are not allowed to view links. Register or Login>
  14.  
  15. <You are not allowed to view links. Register or Login>
  16.  
  17. <You are not allowed to view links. Register or Login class="rojo">Cabecera h1</You are not allowed to view links. Register or Login>
  18. <You are not allowed to view links. Register or Login class="azul">Cabecera h2</You are not allowed to view links. Register or Login>
  19. <You are not allowed to view links. Register or Login class="verde">Cabecera h3</You are not allowed to view links. Register or Login>
  20.  
  21. <You are not allowed to view links. Register or Login>El atributo <You are not allowed to view links. Register or Login>type</You are not allowed to view links. Register or Login> en el elemento de estilo (<You are not allowed to view links. Register or Login>style</You are not allowed to view links. Register or Login>) es obligatorio.</You are not allowed to view links. Register or Login>
  22.  
  23. </You are not allowed to view links. Register or Login>
  24. </You are not allowed to view links. Register or Login>
  25.  

Enlace a HOJAS DE ESTILO

Código: HTML5
  1. <You are not allowed to view links. Register or Login>
  2.  
  3. <You are not allowed to view links. Register or Login>
  4.  
  5. <You are not allowed to view links. Register or Login rel="stylesheet" type="text/css" href="estilos.css">
  6.  
  7. </You are not allowed to view links. Register or Login>
  8.  
  9. <You are not allowed to view links. Register or Login>
  10.  
  11. <You are not allowed to view links. Register or Login>Cabecera h1</You are not allowed to view links. Register or Login>
  12. <You are not allowed to view links. Register or Login>Cabecera h2</You are not allowed to view links. Register or Login>
  13. <You are not allowed to view links. Register or Login>Cabecera h3</You are not allowed to view links. Register or Login>
  14.  
  15. <You are not allowed to view links. Register or Login><You are not allowed to view links. Register or Login></You are not allowed to view links. Register or Login>
  16.  
  17. <You are not allowed to view links. Register or Login>
  18. En este caso los colores de las cabeceras se han establecido con una hoja de estilos en cascada enlazada mediante el elemento de cabecera <You are not allowed to view links. Register or Login>link</You are not allowed to view links. Register or Login>.
  19. </You are not allowed to view links. Register or Login>
  20.  
  21. </You are not allowed to view links. Register or Login>
  22. </You are not allowed to view links. Register or Login>
  23.  

Destino de REFERENCIAS

Código: HTML5
  1. <You are not allowed to view links. Register or Login>
  2.  
  3. <You are not allowed to view links. Register or Login>
  4.  
  5. <You are not allowed to view links. Register or Login href="http://validator.w3.org/">
  6.  
  7. </You are not allowed to view links. Register or Login>
  8.  
  9. <You are not allowed to view links. Register or Login>
  10.  
  11. <You are not allowed to view links. Register or Login>
  12. <You are not allowed to view links. Register or Login href="file-upload.html">
  13. Validación de archivos con código HTML</You are not allowed to view links. Register or Login>
  14. </You are not allowed to view links. Register or Login>
  15.  
  16. <You are not allowed to view links. Register or Login><You are not allowed to view links. Register or Login></You are not allowed to view links. Register or Login>
  17.  
  18. <You are not allowed to view links. Register or Login>Si situas el cursor sobre el enlace y te fijas
  19. en la barra de estado observaras que la URL
  20. relativa de destino del enlace se resuelve con
  21. respecto a la base dada.
  22. </You are not allowed to view links. Register or Login>
  23.  
  24. </You are not allowed to view links. Register or Login>
  25. </You are not allowed to view links. Register or Login>
  26.  

SCRIPTING

Código: HTML5
  1. <You are not allowed to view links. Register or Login>
  2.  
  3. <You are not allowed to view links. Register or Login>
  4.  
  5. <You are not allowed to view links. Register or Login type="text/javascript">
  6. <!--
  7. function msg ()
  8. {
  9.  window.alert("Hola a todos !");
  10. }
  11. //-->
  12. </You are not allowed to view links. Register or Login>
  13.  
  14. </You are not allowed to view links. Register or Login>
  15.  
  16. <You are not allowed to view links. Register or Login>
  17.  
  18. <You are not allowed to view links. Register or Login>
  19. <You are not allowed to view links. Register or Login type="button" value="Púlsame" onclick="msg()">
  20. </You are not allowed to view links. Register or Login>
  21.  
  22. </You are not allowed to view links. Register or Login>
  23. </You are not allowed to view links. Register or Login>
  24.  

FORMULARIOS

Campo de TEXTO

Código: HTML5
  1. <You are not allowed to view links. Register or Login>
  2. <You are not allowed to view links. Register or Login>
  3.  
  4. <You are not allowed to view links. Register or Login>Nombre:
  5. <You are not allowed to view links. Register or Login type="text" name="nombre">
  6. <You are not allowed to view links. Register or Login>Apellidos:
  7. <You are not allowed to view links. Register or Login type="text" size="35"
  8. name="apellidos"></You are not allowed to view links. Register or Login>
  9.  
  10. </You are not allowed to view links. Register or Login>
  11. </You are not allowed to view links. Register or Login>
  12.  

Opciones SIMPLES

Código: HTML5
  1. <You are not allowed to view links. Register or Login>
  2. <You are not allowed to view links. Register or Login>
  3.  
  4. <You are not allowed to view links. Register or Login>Tienes televisión:
  5. <You are not allowed to view links. Register or Login type="checkbox" name="ele" value="television"
  6. checked="checked">
  7. <You are not allowed to view links. Register or Login>
  8. Tienes vídeo:
  9. <You are not allowed to view links. Register or Login type="checkbox" name="ele" value="video">
  10. <You are not allowed to view links. Register or Login>
  11. Tienes DVD:
  12. <You are not allowed to view links. Register or Login type="checkbox" name="ele" value="DVD"></You are not allowed to view links. Register or Login>
  13.  
  14. </You are not allowed to view links. Register or Login>
  15. </You are not allowed to view links. Register or Login>
  16.  

Opciones EXCLUYENTES

Código: HTML5
  1. <You are not allowed to view links. Register or Login>
  2. <You are not allowed to view links. Register or Login>
  3.  
  4. <You are not allowed to view links. Register or Login>Hombre:
  5. <You are not allowed to view links. Register or Login type="radio" name="sexo" value="masc">
  6. <You are not allowed to view links. Register or Login>
  7. Mujer:
  8. <You are not allowed to view links. Register or Login type="radio" name="sexo" value="fem"
  9. checked="checked"></You are not allowed to view links. Register or Login>
  10.  
  11. </You are not allowed to view links. Register or Login>
  12. </You are not allowed to view links. Register or Login>
  13.  

Lista de OPCIONES

Código: HTML5
  1. <You are not allowed to view links. Register or Login>
  2. <You are not allowed to view links. Register or Login>
  3.  
  4. <You are not allowed to view links. Register or Login>Selecciona tu color preferido:<You are not allowed to view links. Register or Login>
  5. <You are not allowed to view links. Register or Login name="color">
  6. <You are not allowed to view links. Register or Login value="amarillo">Amarillo</You are not allowed to view links. Register or Login>
  7. <You are not allowed to view links. Register or Login value="azul">Azul</You are not allowed to view links. Register or Login>
  8. <You are not allowed to view links. Register or Login value="rojo">Rojo</You are not allowed to view links. Register or Login>
  9. <You are not allowed to view links. Register or Login value="verde">Verde</You are not allowed to view links. Register or Login>
  10. <You are not allowed to view links. Register or Login value="otro" selected="selected">
  11. Otro</You are not allowed to view links. Register or Login>
  12. </You are not allowed to view links. Register or Login>
  13.  
  14.  
  15. <You are not allowed to view links. Register or Login><You are not allowed to view links. Register or Login>
  16.  
  17. Selecciona tus frutas predilectas:<You are not allowed to view links. Register or Login>
  18. <You are not allowed to view links. Register or Login name="frutas" size="7" multiple="multiple">
  19. <You are not allowed to view links. Register or Login value="melón">Melón</You are not allowed to view links. Register or Login>
  20. <You are not allowed to view links. Register or Login value="piña">Piña</You are not allowed to view links. Register or Login>
  21. <You are not allowed to view links. Register or Login value="uvas">Uvas</You are not allowed to view links. Register or Login>
  22. <You are not allowed to view links. Register or Login value="pera">Pera</You are not allowed to view links. Register or Login>
  23. <You are not allowed to view links. Register or Login value="manzana">Manzana</You are not allowed to view links. Register or Login>
  24. <You are not allowed to view links. Register or Login value="naranja">Naranja</You are not allowed to view links. Register or Login>
  25. <You are not allowed to view links. Register or Login value="plátano">Plátano</You are not allowed to view links. Register or Login>
  26. </You are not allowed to view links. Register or Login></You are not allowed to view links. Register or Login>
  27.  
  28. </You are not allowed to view links. Register or Login>
  29. </You are not allowed to view links. Register or Login>
  30.  

Area de TEXTO

Código: HTML5
  1. <You are not allowed to view links. Register or Login>
  2. <You are not allowed to view links. Register or Login>
  3.  
  4. <You are not allowed to view links. Register or Login>
  5. <You are not allowed to view links. Register or Login rows="10" cols="30" name="texto">
  6. Aquí puedes escribir el texto que quieras.
  7.  
  8. El elemento &lt;textarea&gt; sólo puede
  9. contener texto (incluido entidades).
  10. </You are not allowed to view links. Register or Login>
  11. </You are not allowed to view links. Register or Login>
  12.  
  13. <You are not allowed to view links. Register or Login><You are not allowed to view links. Register or Login>Los atributos <You are not allowed to view links. Register or Login>rows</You are not allowed to view links. Register or Login> y <You are not allowed to view links. Register or Login>cols</You are not allowed to view links. Register or Login>
  14. del elemento <You are not allowed to view links. Register or Login>&lt;textarea&gt;</You are not allowed to view links. Register or Login> son
  15. obligatorios.</You are not allowed to view links. Register or Login>
  16.  
  17. </You are not allowed to view links. Register or Login>
  18. </You are not allowed to view links. Register or Login>
  19.  

Botones de ACCION

Código: HTML5
  1. <You are not allowed to view links. Register or Login>
  2. <You are not allowed to view links. Register or Login>
  3.  
  4. <You are not allowed to view links. Register or Login>Un botón
  5. <You are not allowed to view links. Register or Login type="button" value="Inicial">
  6. </You are not allowed to view links. Register or Login>
  7.  
  8. </You are not allowed to view links. Register or Login>
  9. </You are not allowed to view links. Register or Login>
  10.  

Etiquetas de CAMPOS de FORMULARIOS

Código: HTML5
  1. <You are not allowed to view links. Register or Login>
  2. <You are not allowed to view links. Register or Login>
  3.  
  4. <You are not allowed to view links. Register or Login>
  5. <You are not allowed to view links. Register or Login>
  6. <You are not allowed to view links. Register or Login>Etiqueta</You are not allowed to view links. Register or Login>
  7. </You are not allowed to view links. Register or Login>
  8.  
  9. <You are not allowed to view links. Register or Login type="text" name="nombre"
  10. value="es un ejemplo" readonly>
  11. </You are not allowed to view links. Register or Login>
  12.  
  13. </You are not allowed to view links. Register or Login>
  14. </You are not allowed to view links. Register or Login>
  15.  

Agrupacion de CAMPOS

Código: HTML5
  1. <You are not allowed to view links. Register or Login>
  2. <You are not allowed to view links. Register or Login>
  3.  
  4. <You are not allowed to view links. Register or Login>
  5. <You are not allowed to view links. Register or Login>Ficha de compra</You are not allowed to view links. Register or Login>
  6. <You are not allowed to view links. Register or Login>Nombre</You are not allowed to view links. Register or Login>
  7. <You are not allowed to view links. Register or Login type="text" name="nombre">
  8. <You are not allowed to view links. Register or Login>
  9. <You are not allowed to view links. Register or Login>Apellidos</You are not allowed to view links. Register or Login>
  10. <You are not allowed to view links. Register or Login type="text" size="35"
  11. name="apellidos">
  12.  
  13. <You are not allowed to view links. Register or Login><You are not allowed to view links. Register or Login>
  14.  
  15. <You are not allowed to view links. Register or Login>Televisión</You are not allowed to view links. Register or Login>
  16. <You are not allowed to view links. Register or Login type="checkbox" name="TV">
  17. <You are not allowed to view links. Register or Login>Vídeo</You are not allowed to view links. Register or Login>
  18. <You are not allowed to view links. Register or Login type="checkbox" name="vídeo">
  19. <You are not allowed to view links. Register or Login>DVD</You are not allowed to view links. Register or Login>
  20. <You are not allowed to view links. Register or Login type="checkbox" name="DVD">
  21. </You are not allowed to view links. Register or Login>
  22.  
  23. </You are not allowed to view links. Register or Login>
  24. </You are not allowed to view links. Register or Login>
  25.  

TEXTO OCULTO

Código: HTML5
  1. <You are not allowed to view links. Register or Login>
  2. <You are not allowed to view links. Register or Login>
  3.  
  4. <You are not allowed to view links. Register or Login>
  5. Contraseña:
  6. <You are not allowed to view links. Register or Login type="password" name="passw">
  7. </You are not allowed to view links. Register or Login>
  8.  
  9. </You are not allowed to view links. Register or Login>
  10. </You are not allowed to view links. Register or Login>
  11.  

Cargar ARCHIVO

Código: HTML5
  1. <You are not allowed to view links. Register or Login>
  2. <You are not allowed to view links. Register or Login>
  3.  
  4. <You are not allowed to view links. Register or Login>
  5. <You are not allowed to view links. Register or Login>Archivo</You are not allowed to view links. Register or Login>
  6. <You are not allowed to view links. Register or Login type="file" name="fname">
  7. </You are not allowed to view links. Register or Login>
  8.  
  9. </You are not allowed to view links. Register or Login>
  10. </You are not allowed to view links. Register or Login>
  11.  

FORMULARIOS INTERACTIVOS

Metodo GET

Código: HTML5
  1. <You are not allowed to view links. Register or Login>
  2. <You are not allowed to view links. Register or Login>
  3.  
  4. <You are not allowed to view links. Register or Login method="get"
  5. action="formej1.php">
  6. <You are not allowed to view links. Register or Login>
  7. <You are not allowed to view links. Register or Login>Formulario</You are not allowed to view links. Register or Login>
  8. <You are not allowed to view links. Register or Login>Nombre</You are not allowed to view links. Register or Login>
  9. <You are not allowed to view links. Register or Login type="text" name="nombre">
  10. <You are not allowed to view links. Register or Login>
  11. <You are not allowed to view links. Register or Login>Apellidos</You are not allowed to view links. Register or Login>
  12. <You are not allowed to view links. Register or Login type="text" size="30"
  13. name="apellidos">
  14. <You are not allowed to view links. Register or Login><You are not allowed to view links. Register or Login>
  15. <You are not allowed to view links. Register or Login>E-mail</You are not allowed to view links. Register or Login>
  16. <You are not allowed to view links. Register or Login type="text" size="30"
  17. name="email">
  18.  
  19. <You are not allowed to view links. Register or Login><You are not allowed to view links. Register or Login>
  20.  
  21. <You are not allowed to view links. Register or Login>De que aparatos dispones:</You are not allowed to view links. Register or Login>
  22. <You are not allowed to view links. Register or Login>Televisión</You are not allowed to view links. Register or Login>
  23. <You are not allowed to view links. Register or Login type="checkbox" name="aparatos[1]"
  24. value="Televisión">
  25. <You are not allowed to view links. Register or Login>Vídeo</You are not allowed to view links. Register or Login>
  26. <You are not allowed to view links. Register or Login type="checkbox" name="aparatos[2]"
  27. value="Vídeo">
  28. <You are not allowed to view links. Register or Login>DVD</You are not allowed to view links. Register or Login>
  29. <You are not allowed to view links. Register or Login type="checkbox" name="aparatos[3]"
  30. value="DVD">
  31.  
  32. <You are not allowed to view links. Register or Login><You are not allowed to view links. Register or Login>
  33.  
  34. <You are not allowed to view links. Register or Login type="submit" value=" Enviar ">
  35. <You are not allowed to view links. Register or Login type="reset" value="Restablecer">
  36. </You are not allowed to view links. Register or Login>
  37. </You are not allowed to view links. Register or Login>
  38.  
  39. <You are not allowed to view links. Register or Login><You are not allowed to view links. Register or Login></You are not allowed to view links. Register or Login>
  40.  
  41. <You are not allowed to view links. Register or Login>El atributo <You are not allowed to view links. Register or Login>action</You are not allowed to view links. Register or Login> del
  42. <You are not allowed to view links. Register or Login>form</You are not allowed to view links. Register or Login> es obligatorio.</You are not allowed to view links. Register or Login>
  43.  
  44. </You are not allowed to view links. Register or Login>
  45. </You are not allowed to view links. Register or Login>
  46.  

metodo POST

Código: HTML5
  1. <You are not allowed to view links. Register or Login>
  2. <You are not allowed to view links. Register or Login>
  3.  
  4. <You are not allowed to view links. Register or Login method="post"
  5. action="formej2.php">
  6. <You are not allowed to view links. Register or Login>
  7. <You are not allowed to view links. Register or Login>Formulario</You are not allowed to view links. Register or Login>
  8. <You are not allowed to view links. Register or Login>Selecciona tus frutas predilectas</You are not allowed to view links. Register or Login><You are not allowed to view links. Register or Login>
  9. <You are not allowed to view links. Register or Login name="frutas[]" size="7" multiple>
  10. <You are not allowed to view links. Register or Login value="melón">Melón</You are not allowed to view links. Register or Login>
  11. <You are not allowed to view links. Register or Login value="piña">Piña</You are not allowed to view links. Register or Login>
  12. <You are not allowed to view links. Register or Login value="uvas">Uvas</You are not allowed to view links. Register or Login>
  13. <You are not allowed to view links. Register or Login value="pera">Pera</You are not allowed to view links. Register or Login>
  14. <You are not allowed to view links. Register or Login value="manzana">Manzana</You are not allowed to view links. Register or Login>
  15. <You are not allowed to view links. Register or Login value="naranja">Naranja</You are not allowed to view links. Register or Login>
  16. <You are not allowed to view links. Register or Login value="plátano">Plátano</You are not allowed to view links. Register or Login>
  17. </You are not allowed to view links. Register or Login>
  18.  
  19. <You are not allowed to view links. Register or Login><You are not allowed to view links. Register or Login>
  20.  
  21. <You are not allowed to view links. Register or Login>Tus comentarios</You are not allowed to view links. Register or Login>
  22. <You are not allowed to view links. Register or Login rows="5" cols="30"
  23. name="comentarios">
  24. Escribe aquí
  25. </You are not allowed to view links. Register or Login>
  26.  
  27. <You are not allowed to view links. Register or Login><You are not allowed to view links. Register or Login>
  28.  
  29. <You are not allowed to view links. Register or Login type="submit" value=" Enviar ">
  30. <You are not allowed to view links. Register or Login type="reset" value="Restablecer">
  31. </You are not allowed to view links. Register or Login>
  32. </You are not allowed to view links. Register or Login>
  33.  
  34. <You are not allowed to view links. Register or Login>Observa que puedes seleccionar más de
  35. una fruta manteniendo pulsada la tecla
  36. <You are not allowed to view links. Register or Login>CTRL</You are not allowed to view links. Register or Login>.</You are not allowed to view links. Register or Login>
  37.  
  38. </You are not allowed to view links. Register or Login>
  39. </You are not allowed to view links. Register or Login>
  40.  

IMAGENES

Documento con IMAGENES

Código: HTML5
  1. <You are not allowed to view links. Register or Login>
  2. <You are not allowed to view links. Register or Login>
  3.  
  4. <You are not allowed to view links. Register or Login>Esto es una imagen:
  5. <You are not allowed to view links. Register or Login src="rana.gif" width="79"
  6. height="78" alt="fija">
  7. </You are not allowed to view links. Register or Login>
  8.  
  9. <You are not allowed to view links. Register or Login><You are not allowed to view links. Register or Login></You are not allowed to view links. Register or Login>
  10.  
  11. <You are not allowed to view links. Register or Login>Esto es una imagen en movimiento
  12. (un <You are not allowed to view links. Register or Login>gif</You are not allowed to view links. Register or Login> animado):
  13. <You are not allowed to view links. Register or Login src="agolpes.gif" width="140"
  14. height="104" alt="animada">
  15. </You are not allowed to view links. Register or Login>
  16.  
  17. <You are not allowed to view links. Register or Login><You are not allowed to view links. Register or Login></You are not allowed to view links. Register or Login>
  18.  
  19. <You are not allowed to view links. Register or Login>Los atributos <You are not allowed to view links. Register or Login>src</You are not allowed to view links. Register or Login> y <You are not allowed to view links. Register or Login>alt</You are not allowed to view links. Register or Login>
  20. son obligatorios.</You are not allowed to view links. Register or Login>
  21.  
  22. </You are not allowed to view links. Register or Login>
  23. </You are not allowed to view links. Register or Login>
  24.  

Alineacion de ELEMENTOS

Código: HTML5
  1. <You are not allowed to view links. Register or Login>
  2. <You are not allowed to view links. Register or Login>
  3.  
  4. <You are not allowed to view links. Register or Login>
  5. Esto es un párrafo con una imagen
  6. <You are not allowed to view links. Register or Login src="ranita.gif" align="left"
  7. width="55" height="55" alt=""> a la
  8. izquierda del texto (la imagen flotará a
  9. la izquierda del párrafo).
  10. </You are not allowed to view links. Register or Login>
  11.  
  12. <You are not allowed to view links. Register or Login>
  13. <You are not allowed to view links. Register or Login src="ranita.gif" align="right"
  14. width="55" height="55" alt="">
  15. Esto es un párrafo con una imagen a la
  16. derecha del texto (la imagen flotará a
  17. la derecha del párrafo).
  18. </You are not allowed to view links. Register or Login>
  19.  
  20. <You are not allowed to view links. Register or Login>
  21. <You are not allowed to view links. Register or Login src="ranita.gif" width="55"
  22. height="55" alt="">
  23. Una imagen antes del texto.
  24. </You are not allowed to view links. Register or Login>
  25.  
  26. <You are not allowed to view links. Register or Login>
  27. Una imagen después del texto
  28. <You are not allowed to view links. Register or Login src="ranita.gif" align="top"
  29. width="55" height="55" alt="">
  30. </You are not allowed to view links. Register or Login>
  31.  
  32. <You are not allowed to view links. Register or Login>
  33. Esto es una imagen incluida
  34. <You are not allowed to view links. Register or Login src="ranita.gif" align="middle"
  35. width="55" height="55" alt="">
  36. en el texto.
  37. </You are not allowed to view links. Register or Login>
  38.  
  39. </You are not allowed to view links. Register or Login>
  40. </You are not allowed to view links. Register or Login>
  41.  

TAMAÑO

Código: HTML5
  1. <You are not allowed to view links. Register or Login>
  2. <You are not allowed to view links. Register or Login>
  3.  
  4. <You are not allowed to view links. Register or Login>Variando los valores de los atributos
  5. <You are not allowed to view links. Register or Login>width</You are not allowed to view links. Register or Login> y <You are not allowed to view links. Register or Login>height</You are not allowed to view links. Register or Login> se puede
  6. ampliar o redurcir una imagen.</You are not allowed to view links. Register or Login>
  7.  
  8. <You are not allowed to view links. Register or Login><You are not allowed to view links. Register or Login></You are not allowed to view links. Register or Login>
  9.  
  10. <You are not allowed to view links. Register or Login>Esto es una imagen normal:
  11. <You are not allowed to view links. Register or Login src="rana.gif" width="79"
  12. height="78" alt="">
  13. </You are not allowed to view links. Register or Login>
  14.  
  15. <You are not allowed to view links. Register or Login><You are not allowed to view links. Register or Login></You are not allowed to view links. Register or Login>
  16.  
  17. <You are not allowed to view links. Register or Login>Esto es una imagen ampliada:
  18. <You are not allowed to view links. Register or Login src="rana.gif" width="150"
  19. height="150" alt="">
  20. </You are not allowed to view links. Register or Login>
  21.  
  22. <You are not allowed to view links. Register or Login><You are not allowed to view links. Register or Login></You are not allowed to view links. Register or Login>
  23.  
  24. <You are not allowed to view links. Register or Login>Esto es una imagen reducida:
  25. <You are not allowed to view links. Register or Login src="rana.gif" width="50"
  26. height="40" alt="">
  27. </You are not allowed to view links. Register or Login>
  28.  
  29. </You are not allowed to view links. Register or Login>
  30. </You are not allowed to view links. Register or Login>
  31.  

Texto ALTERNATIVO y TITULO

Código: HTML5
  1. <You are not allowed to view links. Register or Login>
  2. <You are not allowed to view links. Register or Login>
  3.  
  4. <You are not allowed to view links. Register or Login>Imagen con texto alternativo</You are not allowed to view links. Register or Login>
  5.  
  6. <You are not allowed to view links. Register or Login><You are not allowed to view links. Register or Login></You are not allowed to view links. Register or Login>
  7.  
  8. <You are not allowed to view links. Register or Login>Sitúa el cursor sobre la imagen
  9. <You are not allowed to view links. Register or Login src="rana.gif"
  10. alt="Imagen de una rana"
  11. title="Imagen de una rana"
  12. width="79" height="78">
  13. </You are not allowed to view links. Register or Login>
  14.  
  15. <You are not allowed to view links. Register or Login><You are not allowed to view links. Register or Login></You are not allowed to view links. Register or Login>
  16.  
  17. <You are not allowed to view links. Register or Login>El texto alternativo, dado mediante el atributo <You are not allowed to view links. Register or Login>alt</You are not allowed to view links. Register or Login> debe permitir interpretar la misión de la imagen aún en el caso de que ésta no sea visible.</You are not allowed to view links. Register or Login>
  18.  
  19. </You are not allowed to view links. Register or Login>
  20. </You are not allowed to view links. Register or Login>
  21.  

Bordes y MARGENES

Código: HTML5
  1. <You are not allowed to view links. Register or Login>
  2. <You are not allowed to view links. Register or Login>
  3.  
  4. <You are not allowed to view links. Register or Login border="1">
  5. <You are not allowed to view links. Register or Login>
  6.   <You are not allowed to view links. Register or Login>
  7.   <You are not allowed to view links. Register or Login src="rana.gif"
  8.  border="2" width="79" height="78"
  9.  alt="rana">
  10.   </You are not allowed to view links. Register or Login>
  11. </You are not allowed to view links. Register or Login>
  12. </You are not allowed to view links. Register or Login>
  13.  
  14. <You are not allowed to view links. Register or Login><You are not allowed to view links. Register or Login></You are not allowed to view links. Register or Login>
  15.  
  16. <You are not allowed to view links. Register or Login border="1">
  17. <You are not allowed to view links. Register or Login>
  18.   <You are not allowed to view links. Register or Login>
  19.   <You are not allowed to view links. Register or Login src="rana.gif"
  20.  border="2" hspace="40" vspace="60"
  21.  width="79" height="78" alt="rana">
  22.   </You are not allowed to view links. Register or Login>
  23. </You are not allowed to view links. Register or Login>
  24. </You are not allowed to view links. Register or Login>
  25.  
  26. </You are not allowed to view links. Register or Login>
  27. </You are not allowed to view links. Register or Login>
  28.  

Mapa de IMAGENES

Código: HTML5
  1. <You are not allowed to view links. Register or Login>
  2. <You are not allowed to view links. Register or Login>
  3.  
  4. <You are not allowed to view links. Register or Login>
  5. <You are not allowed to view links. Register or Login name="prueba">
  6. <You are not allowed to view links. Register or Login shape="circle" coords="60,60,40"
  7. alt="La página del WWW"
  8. href="/aii/tutorial.php">
  9. <You are not allowed to view links. Register or Login shape="rect"
  10. coords="105,78,155,100"
  11. alt="Tutorial de HTML"
  12. href="/aii/ejemplos.php?id_codigo=1&amp;codigo=HTML">
  13. <You are not allowed to view links. Register or Login shape="rect"
  14. coords="105,110,155,135"
  15. alt="Tutorial de CSS"
  16. href="/aii/ejemplos.php?id_codigo=2&amp;codigo=CSS">
  17. <You are not allowed to view links. Register or Login shape="rect"
  18. coords="105,140,155,165"
  19. alt="Tutorial de DOM"
  20. href="/aii/ejemplos.php?id_codigo=4&amp;codigo=DHTML">
  21. </You are not allowed to view links. Register or Login>
  22. </You are not allowed to view links. Register or Login>
  23.  
  24. <You are not allowed to view links. Register or Login>Ejemplo de mapa</You are not allowed to view links. Register or Login>
  25.  
  26. <You are not allowed to view links. Register or Login><You are not allowed to view links. Register or Login>La imagen tiene cuatro zonas activas.
  27. Haz click sobre ellas:<You are not allowed to view links. Register or Login><You are not allowed to view links. Register or Login>
  28. <You are not allowed to view links. Register or Login src="mapa.jpg" border="0"
  29. usemap="#prueba" width="176"
  30. height="185" alt="mapa">
  31. </You are not allowed to view links. Register or Login>
  32.  
  33. </You are not allowed to view links. Register or Login>
  34. </You are not allowed to view links. Register or Login>
  35.  

===============================================================================
Me llevo toda la tarde acomodarlo y re hacerlo, asi que espero os guste.... By: Mainfox
« Última modificación: Abril 18, 2014, 11:38:18 am por Expermicid »


 

¿Te gustó el post? COMPARTILO!



Códigos .htaccess que siempre deberias saber

Iniciado por ANTRAX

Respuestas: 5
Vistas: 3642
Último mensaje Noviembre 04, 2014, 11:11:47 pm
por DeBobiPro
[HTML][BASICO] Script ''Haga desfilar un texto mediante la etiqueta <marquee>''

Iniciado por ANTRAX

Respuestas: 0
Vistas: 933
Último mensaje Febrero 24, 2010, 11:15:37 am
por ANTRAX
[HTML][MEDIO] Crea un banner con luces LED para tus perfiles con Mint Profile

Iniciado por godmurdoc

Respuestas: 0
Vistas: 1276
Último mensaje Julio 04, 2011, 04:04:02 pm
por godmurdoc
[VIDEOTUTORIAL] Full Stack Developer - Desde HTML hasta PYTHON - 15 GB

Iniciado por graphixx

Respuestas: 5
Vistas: 7444
Último mensaje Abril 01, 2018, 02:46:38 pm
por graphixx
Curso: Diseño Web: [HTML y CSS Desde Cero] [Convierte tus diseños en sitios web]

Iniciado por Mr.Kratos

Respuestas: 0
Vistas: 125
Último mensaje Julio 27, 2018, 01:20:17 pm
por Mr.Kratos