CSS - Home

About CSS

CSS (Cascading Style Sheets) is used for styling the HTML elements of a web page. It is used to separate the content and the presentation of the web pages. CSS provides flexibility and helps in maintaining consistency across multiple web pages.

Developers choose CSS to describe how HTML elements are to be displayed on the browser. CSS helps in controlling the layout of multiple web pages at once. CSS helps in providing appealing look and feel to the web pages and also loads the web pages quickly. 

In this course, we will discuss about styling web pages using selectors, the different ways in which we can add styling to the HTML elements. This course deals with various properties that can be used to style the web pages. This course also explains about the usage of pseudo classes and pseudo elements.

Target audience: Developers

Learning Objectives

This course introduces the concepts of selectors, various style properties and pseudo classes.

At the end of this course, you will be able to:

  • Style HTML elements in a webpage
  • Specify style sheets in different ways
  • Use selectors and style properties of CSS
  • Debug CSS code using browsers debugging tool

Syntax

CSS is a style sheet markup language. CSS styles are written as a property value pair.

Syntax:

   property : value   

Example:

  color: green;

The styles rules are applied to the HTML elements using selectors.

css-selectors-element