width attribute | width property
Sets or gets a value that you can use to implement your own width functionality for the object.
Syntax
| HTML | <element width="p" ... > |
|---|---|
| JavaScript | |
Property values
Type: String
the value for width property.
Standards information
- Document Object Model (DOM) Level 1 Specification, Section 2.5.5
- HTML 4.01 Specification, Section 0 (Deprecated)
Remarks
This property has no default value.
The functionality specified by the HTML 4.0 standard is not implemented.
There is no functionality implemented for this property unless it is defined by the author.
width was introduced in Microsoft Internet Explorer 6.
See also
Show: