HTML CSS Reference/HTML Attributes Reference/size
"size" Example
<source lang="html4strict">
<HTML> <head><Title>Example For</Title></head> <BODY> Text
<input type="text" size="100"> <select size="10"> <option>option 1</option> <option>option 2</option> <option>option 3</option> <option>option 4</option> <option>option 5</option> <option>option 6</option> <option>option 7</option> <option>option 8</option> </select>
</BODY> </HTML>
</source>
size is applied to
<source lang="html4strict">
+----------------+--------------------------------------------------------------+ | Applied_To |<basefont> |
| |<input type="button"> |
| |<inputtype="checkbox"> <input type="file"> | | |<input type="image"> <inputtype="password"> | | |<input type="radio"> <input type="reset"> | | |<inputtype="submit"> <input type="text"> | | |<select> <spacer> | +----------------+--------------------------------------------------------------+
</source>
"size" Syntax and Note
<source lang="html4strict">
Note:
This attribute sets the font size in an element block. Later versions of Internet Explorer no longer favor this attribute. In the case of the <input> element, the size represents the element width in characters. In the case of the <select> element, the size is the rows to be displayed.
Syntax:
<element size="value"> . . . </element>
</source>