size attribute (input, isindex, ...)
Specifies the width of a control, in characters.
The width is calculated by the average character widths. You can set the dimensions of the input field by the width and the height style properties.
Integer that sets the width of the control, in characters. The default is 20.
Default: this attribute has no default value.
Example HTML code 1:
This example illustrates the use of the size attribute:
Did you find this example helpful?
Supported by tags:
User Contributed Comments