How do we add the maximum number of characters allowed in an element in HTML?
Answers
Answered by
0
we can add maximum number of characters by char(20) it will print 20 times
Answered by
0
Answer:
The HTML <input> tag is used to get user input in HTML. To give a limit to the input field, use the min and max attributes, which is to specify a maximum and minimum value for an input field respectively. To limit the number of characters, use the maxlength attribute.
Similar questions