adspace
Answer Posted / swapna
CSS syntax = selector {property: value}
selector is HTML element/tag
Property is attribute
Value is some possible value accepted by property
The property and value are separated by a colon, and
surrounded by curly braces.
Ex:- body {color: black}
If the value is multiple words, put quotes around the
value:
p {font-family: "sans serif"} Applied for <p>?</p>
If you wish to specify more than one property, you must
separate each property with a semicolon.
Ex:- p {text-align: center;
color: black;
font-family: Arial }
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers