0
How do I add a text under the html option tag?
Every word I type under it doesn't appear on the browser
5 odpowiedzi
+ 2
Why you wanna add some text there?
+ 2
This might help
https://code.sololearn.com/WNrdIthBmW7X/?ref=app
+ 1
I am trying to create an explanation under each option tag. How do I do that? Like... Add a paragraph or a list... Here is the code👇. The text under the options does not display in the output, how can I make it display? Thanks in advance
https://code.sololearn.com/WWkrU1HLiaUl/?ref=app
+ 1
You might wanna use some <optgroup> to display text between the options.
But this isn't really a solution, because functionality speaking, <optgroup> was meant to group <option> elements by some category, not to display text.
https://www.w3docs.com/learn-html/html-optgroup-tag.html
+ 1
Thanks so much guys. I really appreciate.