CSS Syntax

Estimated reading: 1 minute 141 views

The syntax for CSS is different than that of (X)HTML markup. Though it
is not too confusing, once you take a look at it. It consists of only 3
parts.f your writing and looks perfectly for your sites.

				
					 selector { property: value }

				
			

The selector is the (X)HTML element that you want to style. The property
is the actual property title, and the value is the style you apply to that
property.

Share this Doc

CSS Syntax

Or copy link