+ 1
How to add different background and border colour in a same text area?
6 Antworten
+ 9
In HTML ~
<textarea>Your text here </textarea>
In CSS ~
textarea{
background-color : red;
border : 2px solid green;
}
Of course you can use any color or border width/style..
+ 3
HTML not for styling. You should use CSS
+ 1
thank for this! but i want to set different background and border colour of textarea in HTML
+ 1
you have used css but i want to do this in HTML.
+ 1
ok