Oops! It appears that you have disabled your Javascript. In order for you to see this page as it is meant to appear, we ask that you please re-enable your Javascript!
Published on: 03/8/17 Modified on: May 26th, 2018 Author: Fazal Rehman Shamil

CSS Cascading style sheets Tutorials

What is CSS?

CSS is the cascading style sheet. CSS provides the styles to HTML elements and Website data.

What are the advantages of CSS?

  • Give style to data and information
  • Give style to the web structure
  • Saves a lot of time. For example, if we apply background color of 1000 web pages in a stylesheet, then it can save our time. Because that one CSS file is linked with all other 1000 web pages. If we want to change the background color in CSS file, then we need to change it only in one CSS file. and will change in all 1000 web pages.

How can we add CSS to HTML elements?

There are three ways;

  1. External CSS
  2. Internal CSS
  3. Inline CSS