Diferencia entre revisiones de «Usuario:ManuelRomero/HTML5»

De WikiEducator
Saltar a: navegación, buscar
Línea 7: Línea 7:
 
<source lang=html4strict>
 
<source lang=html4strict>
 
<!DOCTYPE html>
 
<!DOCTYPE html>
<html>
+
<html>
<head>
+
  <head>
<title>Title of the document</title>
+
    <title>Title of the document</title>
</head>
+
  </head>
  
<body>
+
  <body>
The content of the document......
+
    El contenido del documento
</body>
+
  </body>
 
+
</html>  
</html>  
+
 
</source>
 
</source>

Revisión de 03:34 9 jul 2012

Referencia

http://www.w3schools.com/html5/default.asp

Sintaxis

  • un documento html5 debe comenzar con la declaración <!DOCTYPE html>
  • un documento html5 debe tener las siguientes etiquetas
<!DOCTYPE html>
 <html>
  <head>
    <title>Title of the document</title>
  </head>
 
  <body>
    El contenido del documento
  </body>
 </html>