UNITS Attribute | units Property

Internet Development Index

Sets or retrieves the height and width units of the embed object.

Syntax

HTML<EMBED UNITS = sUnits... >
ScriptingEMBED.units [ = sUnits ]

Possible Values

sUnitsString that specifies or receives one of the following values.
pxHeight and width are in pixels. For more information about the supported length units, see CSS Length Units.
emHeight and width are relative to the height and width of the element's font. For more information about the supported length units, see CSS Length Units.

The property is read/write. The property has no default value.

Standards Information

There is no public standard that applies to this property.

Applies To

EMBED