HTML <object> Element Reference

The HTML <object> element embeds an external resource and can contain fallback content.

<object>

HTML <object> Element Reference

The HTML <object> element embeds an external resource and can contain fallback content.

Categories

  • Embedded content

Tag omission

Consult the HTML Living Standard for the precise tag-omission rules.

Content model

  • Detailed content-model guidance will be added to this reference.

Attributes

Examples

Example

A practical object element example.

<object data="diagram.svg" type="image/svg+xml">
  <img src="diagram.png" alt="System diagram">
</object>

Related references

Description

The HTML <object> element embeds an external resource and can contain fallback content.

References

  1. HTML Living Standard: Index of elements
  2. MDN: HTML <object> Element

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies