Hi here is my code. Is it possible to make this type.
sumit sumit sumit sumit
here is code http://codepen.io/anon/pen/zFwqf
You can't do it this way. The select element involves some shadow DOM, so every tag between <option> is stripped off.
<option>
You will have to use a regular unordered list like this for example.
You can not have a checkbox in the dropdown select list.
http://codepen.io/anon/pen/suKrl
Thanks all
The question(s), I guess, is/are "What are you trying to do, and why?"
We may be able to offer alternative strategies.
@AlenAbdula Linking to w3schools isn't a good advice. See http://w3fools.com/.
~Confession bear mode
I learned (x)html and css from w3schools... years ago though, in my defense :P Sites like sitepoint aren't as easy to learn from for beginners.
Hi here is my code. Is it possible to make this type.
here is code http://codepen.io/anon/pen/zFwqf
You can't do it this way. The select element involves some shadow DOM, so every tag between
<option>is stripped off.You will have to use a regular unordered list like this for example.
You can not have a checkbox in the dropdown select list.
http://codepen.io/anon/pen/suKrl
Thanks all
The question(s), I guess, is/are "What are you trying to do, and why?"
We may be able to offer alternative strategies.
@AlenAbdula Linking to w3schools isn't a good advice. See http://w3fools.com/.
~Confession bear mode
I learned (x)html and css from w3schools... years ago though, in my defense :P Sites like sitepoint aren't as easy to learn from for beginners.