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

p = object.width

 

Property values

Type: String

the value for width property.

Standards information

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

pre

 

 

Show:
© 2014 Microsoft