Cascading Style Sheets (CSS) is a style sheet language used for describing the look and formatting of a document written in a markup language.
CSS was developed by the World Wide Web Consortium (W3C).
CSS defines how the HTML elements are to be displayed.
Styles are normally saved in external .css files. External style sheets allow you to change the appearance and layout of all the pages in a Website, just by editing one single file.
CSS Usage
There are 3 ways to add CSS styles to the HTML document.
- Inline style – giving a style attribute to HTML elements
- Internal style – using the <style> element in the <head> section
- External style – creating an external CSS file