CSS syntax

Each element in CSS file consists of three things:

1. Name of the objects.
2. Property name.
3. Property value.

Name of the corresponds to HTML element. For example header.
Property name is characteristic of that element. For example font.
Property value is what is assigned to that element. Since I gave an example of font, property value is the font type to be used. 

Property name and value will vary depending on the type of HTML element.

Comments

Popular posts from this blog

Absolute and relative path in HTML pages

Errors

goto PHP operator