Computer Science, asked by ashujaguar6864, 1 year ago

How do we add the maximum number of characters allowed in an element in HTML?

Answers

Answered by bharath0719
0

we can add maximum number of characters by char(20) it will print 20 times

Answered by ulagiyan
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