Ver Mensaje Individual
  #7 (permalink)  
Antiguo 21/12/2011, 20:11
Avatar de zerokilled
zerokilled
Javascripter
 
Fecha de Ingreso: abril-2009
Ubicación: Isla del Encanto, La Borinqueña [+>==]
Mensajes: 8.050
Antigüedad: 15 años
Puntos: 1485
Respuesta: ¿<meta> y <link> no se cierran y <br /> e <img /> sí?

extraido del borrador html5.
Cita:
Iniciado por http://www.w3.org/TR/html5/introduction.html#html-vs-xhtml
There are various concrete syntaxes that can be used to transmit resources that use this abstract language, two of which are defined in this specification.

The first such concrete syntax is the HTML syntax. This is the format suggested for most authors. It is compatible with most legacy Web browsers. If a document is transmitted with an HTML MIME type, such as text/html, then it will be processed as an HTML document by Web browsers. This specification defines version 5 of the HTML syntax, known as "HTML5".

The second concrete syntax is the XHTML syntax, which is an application of XML. When a document is transmitted with an XML MIME type, such as application/xhtml+xml, then it is treated as an XML document by Web browsers, to be parsed by an XML processor. Authors are reminded that the processing for XML and HTML differs; in particular, even minor syntax errors will prevent a document labeled as XML from being rendered fully, whereas they would be ignored in the HTML syntax. This specification defines version 5 of the XHTML syntax, known as "XHTML5".
todo dependerá del tipo de contenido en que vas a servir el documento: text/html o application/xhtml+xml.
__________________
la maldad es una virtud humana,
y la espiritualidad es la lucha del hombre contra su maldad.