Embedding external content

object

The object element provides a modern way to embed external apps into a web page.

Application-specific configuration data can be passed to the embedded object using one or more param elements.

Properties

data
Use sourceref notation to identify the remote URL containing the embedded app.
height
The height of the embedded app, in pixels, but specified without units.
width
The width of the embedded app, in pixels, but specified without units.
type
The MIME-type of the resource being embedded.
typemustmatch
The type attribute is used to double-check what the server actually provides, and the two must be the same.
name
A name that can be used in "a", "form" and "base" elements to target this object.
usemap
For use when the embedded media is to function as a client-side image map with more than one hyperlink target.
This attribute should contain the local "#name" of the map element which defines the hyperlinks and their hotspot areas.

Examples

object `/css/cheat-sheet.pdf` *type=application/pdf *width=250 *height=200
embedding a PDF

object `/all-about-acme.swf` *type=application/x-shockwave-flash *width=250 *height=200
embedding Flash

Descendants

param
The param element provides a generic way to supply configuration data to an object element.

0

semantax > media-embed > objectEmbedding external content

🔗 🔎