I created a text area and tried to use span within it but the span tag is taken as a value. Please help me out, my code was as follow -:
<textarea id="example"><span>This text's background need to be changed.</span>Not for this</textarea>
I used CSS for this.. but it didn't work out.
textarea{
background: red;
}
span{
background: yellow;
}
Any help will be appreciated.