0
Hi, I am new to what is html and I want to know if there is someone who can help me in css, it costs me more than html, so I hop
4 Answers
+ 4
What exactly do you need help with?
+ 4
To set the default background color on a page use
body {
background-color: maroon;
}
To set the default text color use
body {
color: white;
}
There is a "tree" called DOM
<body>
<div>
text
</div>
</body>
With the rules set above we now have page with background color of maroon and white text
Now the following rule overwrites rules declared in body for the specific element, because the div is a branch of body
div {
color: black;
}
Text color in every div element will be black, in other elements stays white.
Colours can be declared as:
names ('lightsalmon', 'white', 'blue', 'red'...)
RGB values like 'rgb(255,255,255)' this is white
r fragment define shade of red (255 is lightest)
g defines green
b defines blue
You also can use rgba value, where a is opacity like 'rgba(0,0,0,0.4)'
HEX values like ('#ffffff'), '#fff' is short type
the similar type like in the rgb declaration
we use f,e,d,c,b,a,9,8,7,6,5,4,3,2,1,0 for each character in the declaration
0
Well what my life is the html css osea give color to web page
0
Do you have web pages already made if you can send me the ??? do you know Spanish ???