Cascading Stylesheets, or CSS, is a separate language from HTML. The two langues have different purposes, but are used closely together to make a finished web page that is useful and attractive. While HTML is used to markup the sections of a web page and the content, CSS is used to style the look of the sections and the content. A developer might markup up some text as a headline using <h1>…</h1> tags. They would then use CSS to format the look of that headline: font color, text alignment, font family, etc.
Although learning CSS is not difficult, its syntax is very different from HTML and will require an open mind to learning the new terminology and writing rules. Cascading Stylesheets doesn’t use tags and attributes. Instead, CSS is made up of:
Just like HTML has lots of elements (tags), CSS has lots of properties. Some CSS properties, like background-clip, are rarely used and may require a lookup when you need this feature. However, others properties, like background-color, are used so often you’ll quickly memorize them.