Get to know MDN better
Esta página ha sido traducida del inglés por la comunidad. Aprende más y únete a la comunidad de MDN Web Docs.
This feature is well established and works across many devices and browser versions. It’s been available across browsers since julio de 2015.
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.
| Flow content; phrasing content; embedded content, palpable content; if the element has a usemap attribute, interactive content; listed, submittable form-associated element. |
| cero o más elementos <param> , luego transparent. |
| Ninguna, tanto la etiqueta inicial como la final son obligatorias. |
| Cualquier elemento que acepte embedded content (contenido incrustado). |
| application, document, img |
| HTMLObjectElement |
Este elemento incluye los global attributes.
archive onlyUna lista separada por espacios de las URl's de archivos o recursos para el objeto.
borderEl grosor de una línea de margen alrededor del control, en pixeles.
classid onlyThe URI of the object's implementation. It can be used together with, or in place of, the data attribute.
codebase onlyThe 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 onlyThe content type of the data specified by classid.
dataLa 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 onlyThe 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.
formEl 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.
heightLa altura del recurso mostrado, en CSS pixels. — (Valores absolutos unicamente. NO percentages)
nameEl nombre de un contexto de navegación válido (HTML5), o el nombre del control (HTML4).
standby onlyA message that the browser can show while loading the object's implementation and data.
tabindex onlyThe position of the element in the tabbing navigation order for the current document.
typeEl content type del recurso especificado mediante data. Al menos uno de los dos atributos, data o type, deben estar definidos.
typemustmatchEste valor booleano indica si el atributo type y el content type real del recurso deben coincidir para porder ser usados.
usemapUna refercia hash-name a un elemento <map>; es decir un '#' seguido del valor de un name de un elemento map.
widthEl ancho del recurso mostrado, en CSS pixels. — (Valores absolutos unicamente. NO percentages)
| HTML # the-object-element |
Enable JavaScript to view this browser compatibility table.
This page was last modified on 10 abr 2026 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.