all
alt
ch
dir
id
min
rel
top
url
URL
urn
Expand Minimize

units attribute | units property

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

Syntax

HTML<element units="p" ... >
JavaScript

p = object.units

Property values

Type: String

px

Height and width are in pixels. For more information about the supported length units, see CSS Length Units.

em

Height 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.

See also

embed

 

 

Show:
© 2014 Microsoft