Home » HTML » HTML Forms » Question
  1. Which attribute is not used on new forms?
    1. text
    2. maxlength
    3. size
    4. name
    5. None of these
Correct Option: C

size attribute denotes the width of text input i.e measured by the number of characters inputted. E.g. If we input value 3 then it will create a box of width enough to display three characters. The user can enter more characters if they want. Syntax is <input type=”text” name=”firstname” size=”12” maxlength=”30”>



Your comments will be displayed only after manual approval.