Link to home
Avatar of vogtster
vogtster

asked on

Carriage return line feed (line break) in <select> lists

Is it possible to line break the text in <select> lists like this:

<select name=MyName>
<option value=MyValue>This is the first line.<br>And this is the second line.</option>
</select>
ASKER CERTIFIED SOLUTION
Avatar of Yury Merezhkov
Yury Merezhkov
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial