Diferencia entre revisiones de «Usuario:ManuelRomero/HTML5»

De WikiEducator
Saltar a: navegación, buscar
(Página creada con '==Referencia== http://www.w3schools.com/html5/default.asp ==Sintaxis== Un documento html5 debe comenzar con la declaración siguiente <source lang=HTML5> <!DOCTYPE html> </so…')
 
Línea 3: Línea 3:
 
   
 
   
 
==Sintaxis==
 
==Sintaxis==
Un documento html5 debe comenzar con la declaración siguiente
+
*un documento html5 debe comenzar con la declaración '''<!DOCTYPE html>'''
<source lang=HTML5>
+
*un documento html5 debe tener las siguientes etiquetas
<!DOCTYPE html>
+
<source lang=html4strict>
 +
<!DOCTYPE html>
 +
<html>
 +
<head>
 +
<title>Title of the document</title>
 +
</head>
 +
 
 +
<body>
 +
The content of the document......
 +
</body>
 +
 
 +
</html>  
 
</source>
 
</source>

Revisión de 03:33 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>
The content of the document......
</body>
 
</html>