units
all
alt
ch
dir
for
id
low
min
rel
top
url
URL
urn
TOC
Collapse the table of content
Expand the table of content

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:
© 2016 Microsoft