search

Home  >  Q&A  >  body text

Drop-down lists and text fields in forms-2018 Front-end Primer_

<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

延得延得1439 days ago1574

reply all(1)I'll reply

  • 查无此人

    查无此人2021-03-15 09:47:48

    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.

    reply
    0
  • Cancelreply