Now lets begin with CSS...
Now lets see an image below and see the syntax of CSS:-
A CSS rule set consists of a selector and a declaration block
The selector tell which html element to be styled....
The declaration block contains one or more declarations separated by semicolons.
Each declaration includes a property name and a value, separated by a colon.
Now lets see an example....
p {color:red;text-align:center;}You can see that there are two declarations in the first line...To make the code neat we can put one declaration on each line....
p { color: red; text-align: center;}
The answers to the first assignment will be given soon..we will start with "Comments" from the next post...

Comments
Post a Comment