Horje

How is to look HTML size Attribute in input

Set a width for an input field:
index.html
Example: HTML
 <form>
  <label for="fname">First name:</label><br>
  <input type="text" id="fname" name="fname" size="50"><br>
  <label for="pin">PIN:</label><br>
  <input type="text" id="pin" name="pin" size="4">
</form> 

Output should be:

How is to look HTML size Attribute in input




Type:
html
Category:
Web Tutorial
Sub Category:
HTML Input Attributes
Uploaded by:
Admin