Changes

Jump to navigation Jump to search
more
Line 6: Line 6:  
property: value;  
 
property: value;  
 
}</pre>
 
}</pre>
−
For example, in order to change the background to red, and the text color to maroon, you would type, <pre>body {background:red; color:maroon}</tt>. Body is the selector - meaning you want to edit a characteristic of the body in html, background and color are the properties - background refers to the background color and color refers to the text color, and then red and maroon are the given values for those properties.
+
For example, in order to change the background to red, and the text color to maroon, you would type,
 +
<pre>
 +
body {
 +
background:red;
 +
color:maroon}</pre> Body is the selector - meaning you want to edit a characteristic of the body in html, background and color are the properties - background refers to the background color and color refers to the text color, and then red and maroon are the given values for those properties.
    
[[category:internet]]
 
[[category:internet]]
SkipCaptcha, nsSupply_SidersR, nsSupply_Siders_
8,436

edits

Navigation menu