units attribute | units property
Sets or retrieves the height and width units of the embed object.
Syntax
| HTML | <element units="p" ... > |
|---|---|
| JavaScript | |
Property values
Type: String
-
Height and width are in pixels. For more information about the supported length units, see CSS Length Units.
-
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
Show: