0

It's a simple question, but I can't find the answer searching.

if I have this:

<option value="">Test</option>

What's the limit of characters of text that I can put inside the option value? There is a limit? Could I insert a whole 30k length string inside the value without any consequences (others than readability)? Searching for maximun length of a property always brings me to the max-length property, instead of what I'm actually looking for.

Umutambyi Gad
  • 4,082
  • 3
  • 18
  • 39
  • It looks like this may be related: https://stackoverflow.com/questions/1496096/is-there-a-limit-to-the-length-of-html-attributes – CharlesJV Jul 24 '20 at 19:24
  • 1
    Why don't you just try it out? In general, it should be unlimited or as much as your computer can hold in memory before crashing. – The Fool Jul 24 '20 at 19:25
  • Yes, that awnser my question, couln't find that question before, thanks and sorry. – Máttheus Spoo Jul 24 '20 at 19:27

0 Answers0