Is there any possible using tag inside tag
have tried to add two texts in an option tag where the two text should be in different color. However, the below code is not working fine.. Kindly assist me what should I added in this css or js.. Also suggest me if there is any plugin to use. <select name="dropdown" title="Corporate Select" class="custom-select" id="target" aria-label="Corporate Select"> <option selected>Select</option> <option value="">Offers<span class="calc">New </span></option> <option value="">Discounts<span class="calc">New </span></option> </select> <style> option span.calc { color: red; } </style>
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.