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;
- External CSS
- Internal CSS
- Inline CSS