There are some necessory rules for making a style sheet otherwise it will not applied on your syntax.So during making a style sheet keep in mind all the rules which are described here briefly. The first step in learning CSS is to get familiar with the it's rules.
CSS syntax
h5
{
color
:
blue
;
}
Here h5 is selecter (We will learn about selector in page selecter in css3) . While curly braces are necessory due to rule of css. color is the property in css and green is value in css.
Example of CSS syntax
p
{
font-size
:
20px
;
font-family
:
New Roman
;
}
Here p is selecter (We will learn about selector in page selecter in css3) . While curly braces are necessory due to rule of css. font-size and font-family are the properties in css3 and 20px and New Roman are the values in css.
You will learn more about seletors in next chapter.
Comment here
If you have any query, if you want to know something about any of technical course related to computer science field, if you have any suggestion about relevant to uploaded content or if you anything wrong here (any mistake in content) than please contact us. Keep in mind, comment should be according to community guidelines.