0
how to use background-color and bgcolor in html?
2 Antworten
+ 1
you do this in the css sheet. I'll use a <div> for an example. the css would look like this. div{ height: 10vh; width: 10vh; background-color: rgba(0,0,0,0.80);} this will give a 20% transparent black as a background. you can use hex colors for example #cccccc which I think is gray lol, but hex is a solid colour . you can even use the word white, black, wheat, green or whatever. hope this is helpful
0
bgcolor