Balise XHTML object
Description
- Description:
- Objet externe à l'intérieur d'une page
Attributs
id ID #IMPLIED class CDATA #IMPLIED style %StyleSheet; #IMPLIED title %Text; #IMPLIED lang %LanguageCode; #IMPLIED xml:lang %LanguageCode; #IMPLIED dir (ltr|rtl) #IMPLIED onclick %Script; #IMPLIED ondblclick %Script; #IMPLIED onmousedown %Script; #IMPLIED onmouseup %Script; #IMPLIED onmouseover %Script; #IMPLIED onmousemove %Script; #IMPLIED onmouseout %Script; #IMPLIED onkeypress %Script; #IMPLIED onkeydown %Script; #IMPLIED onkeyup %Script; #IMPLIED declare (declare) #IMPLIED classid %URI; #IMPLIED codebase %URI; #IMPLIED data %URI; #IMPLIED type %ContentType; #IMPLIED codetype %ContentType; #IMPLIED archive %UriList; #IMPLIED standby %Text; #IMPLIED height %Length; #IMPLIED width %Length; #IMPLIED usemap %URI; #IMPLIED name NMTOKEN #IMPLIED tabindex %Number; #IMPLIED
CSS
object { -moz-user-focus: normal; /*firefox */ }
Pour les balises object qui sont à l'intérieur d'un hyperlien ou qui utilise l'attribut usemap
border: 2px solid;
Firefox ajoute -moz-outline: 1px dotted invert; lorsque l'usager a le focus sur le lien.
Avec l'attribut usemap, on ajoute
cursor: pointer; color: blue; -moz-user-focus: normal; /* firefox */
Tests et outils
Imbrication XHTML 1.0 Strict
- Peut être imbriquée à l'intérieur de:
- a, abbr, acronym, address, b, bdo, big, button, caption, cite, code, dd, del, dfn, div, dt, em, fieldset, h1, h2, h3, h4, h5, h6, head, i, ins, kbd, label, legend, li, object, p, q, samp, small, span, strong, sub, sup, td, th, tt, var
- Peut imbriquer:
- PCDATA, a, abbr, acronym, address, b, bdo, big, blockquote, br, button, cite, code, del, dfn, div, dl, em, fieldset, form, h1, h2, h3, h4, h5, h6, hr, i, img, input, ins, kbd, label, map, noscript, object, ol, p, param, pre, q, samp, script, select, small, span, strong, sub, sup, table, textarea, tt, ul, var