<form action="" method="" name="">
Text box
<textarea rows="8" cols="10" maxlength="10"> < /textarea></form>Teacher, is there something wrong with my code? I did the test as required, and the control allowed me to input a maximum length of 10. In fact, I could only input 1-7 and couldn't input it anymore. maxlength = 10 is a character? Or what is the reason? Thank you
There is no problem with the code. I tested it and found that I can enter 10 numbers or 10 English letters or 10 Chinese characters.
You can test it in another browser.