0
How can I make a coloured box and write in the box in html ?
2 Answers
+ 3
I don't know if you mean an input field or a textarea, but you can do it like this:
<input style="background-color:red;">
or a textarea:
<textarea style="background-color:red;"></textarea>
both of them will have a red background... you can replace the red with a color word of your choice or use RGB, RGBA or Hex.
0
You can put an image.