Diferencia entre revisiones de «Usuario:ManuelRomero/HTML5»
De WikiEducator
| 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> |
| − | + | El contenido del documento | |
| − | </body> | + | </body> |
| − | + | </html> | |
| − | </html> | + | |
</source> | </source> | ||
Revisión de 15:34 8 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>