Baseline Widely available
El elemento HTML <object>
representa un recurso externo, que puede ser tratado como una imagen, un contexto de navegación anidado, o como un recurso que debe ser manejado por un plugin.
<object
type="video/mp4"
data="/shared-assets/videos/flower.mp4"
width="250"
height="200"></object>
Atributos
Este elemento incluye los global attributes.
archive
only Obsoleto
Una lista separada por espacios de las URl's de archivos o recursos para el objeto.
border
Obsoleto
El grosor de una lÃnea de margen alrededor del control, en pixeles.
classid
only Obsoleto
The URI of the object's implementation. It can be used together with, or in place of, the data attribute.
codebase
only Obsoleto
The base path used to resolve relative URIs specified by classid, data, or archive. If not specified, the default is the base URI of the current document.
codetype
only Obsoleto
The content type of the data specified by classid.
data
La dirección de la fuente, escrita como una URL válida. Al menos uno de los dos atributos, data o type, deben estar definidos.
declare
only Obsoleto
The presence of this Boolean attribute makes this element a declaration only. The object must be instantiated by a subsequent <object>
element. In HTML5, repeat the <object> element completely each that that the resource is reused.
form
El elemento form, si es que hay alguno, al que el objeto está asociado (su form propietario). El valor de este atributo debe ser el ID de un elemento <form>
del mismo documento.
height
La altura del recurso mostrado, en CSS pixels. â (Valores absolutos unicamente. NO percentages)
name
El nombre de un contexto de navegación válido (HTML5), o el nombre del control (HTML4).
standby
only Obsoleto
A message that the browser can show while loading the object's implementation and data.
tabindex
only Obsoleto
The position of the element in the tabbing navigation order for the current document.
type
El content type del recurso especificado mediante data. Al menos uno de los dos atributos, data o type, deben estar definidos.
typemustmatch
Este valor booleano indica si el atributo type y el content type real del recurso deben coincidir para porder ser usados.
usemap
Una refercia hash-name a un elemento <map>
; es decir un '#' seguido del valor de un name
de un elemento map.
width
El ancho del recurso mostrado, en CSS pixels. â (Valores absolutos unicamente. NO percentages)
<!-- Incrustar una pelÃcula flash -->
<object data="movie.swf" type="application/x-shockwave-flash"></object>
<!-- Incrustar una pelÃcula flash con parámetros -->
<object data="movie.swf" type="application/x-shockwave-flash">
<param name="foo" value="bar" />
</object>
Especificaciones Compatibilidad con navegadores See also
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4