how can the textbox width be reduced?
Can I reduce the textbox width without using classes?
<input type="text" maxlength=开发者_Go百科"5" style="3px"/>
<input type="text" style="width:50px;"/>
Is not nice to define textbox width without using CSS, be warned ;-)
<input type="text" name="d" value="4" size="4" />
rows and cols are required attributes, so you should have them whether you really need them or not. They set the number of rows and number of columns respectively.
http://htmldog.com/reference/htmltags/textarea/
<input type='text'
name='t1'
id='t1'
maxlength=10
placeholder='typing some text' >
<p></p>
This is the text box, it has a fixed length of 10 characters, and if you can try but this text box does not contain maximum length 10 character
精彩评论