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 web structure
  • Saves a lot of time. For example if we apply background color of 1000 web pages in a stylesheet, then it can saves our time. Because that one CSS file is linked with all other 1000 webpages. 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 we can add CSS to HTML elements?

There are three ways;

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