A CSS tag or the CSS syntax is built up using three elements:
The selector is generally the HTML element or tag that you wish to style or define
Example:
The property is the part of the selector that you wish to change.
Example:
The value is the properties element which can accept single or multiple elements/values.
Example:
From our 3 examples we tell the <body></body> tag that it has to have a black background
Example:
- Selector
- Property
- Value
selector{property: value;}Example:
body{property: value;}Example:
selector{background: value;}Example:
selector{property: #000000;}Example:
body{background: #000000;}| Website Design | Website Design Company | Web Development Get a beautiful website design. Studio Web is a results oriented web design & online marketing firm serving companies worldwide. |
Sponsored Link |