La balise object
- incorporer du contenu en XHTML valide strict -
essais
série XHTML
La formulation XHTML de object
est quasiment la même qu'en HTML,
la seule différence est que les balises param
sont fermées.
Néanmoins, voici la même série de test en XHTML 1.0 strict.
Ces pages sont servies aux navigateurs comme text/html. Le
meilleur choix
serait application/xhtml+xml, mais IE n'est pas capable de le comprendre, et
XHTML 1.0 peut être servi en tant que HTML... Bien sûr, ces pages sont donc
traitées comme du HTML par les navigateurs.
- types text
- text/html (fichier html)
- text/plain (fichier txt)
- text/css (fichier css)
- text/javascript (fichier js)
- text/richtext (fichier rtf)
- text/rtf (fichier rtf)
- application/rtf (fichier rtf)
- types application
- application/pdf (fichier pdf)
- application/postscript (fichier ps)
- application/vnd.oasis.opendocument.text (fichier odt)
- application/vnd.oasis.opendocument.spreadsheet (fichier ods)
- application/vnd.oasis.opendocument.presentation (fichier odp)
- application/vnd.sun.xml.writer (fichier sxw)
- application/vnd.sun.xml.calc (fichier sxc)
- application/vnd.sun.xml.impress (fichier sxi)
- application/msword (fichier doc)
- application/vnd.ms-excel (fichier xls)
- application/vnd.ms-powerpoint (fichier ppt)
- types video
- video/mpeg (fichier mpg)
- video/avi (fichier avi)
- video/x-ms-wmv (fichier wmv)
- video/quicktime (fichier mov)
- types audio
- audio/x-wav (fichier wav)
- audio/mpeg (fichier mp3)
- application/ogg (fichier ogg)
- audio/x-midi (fichier mid)
- divers autres types
- image/svg+xml (fichier svg)
- application/x-shockwave-flash (fichier swf)
- audio/x-pn-realaudio-plugin (fichier rm, avec commentaires IE)
- audio/x-pn-realaudio-plugin (fichier rm, masquer par CSS)
- application/x-java-applet (applet java)
- unknown/unknown, quelques tests avec un type mime factice.