What is CSS (Cascading Style Sheet)

CSS - Cascading Style Sheet

CSS stands for Cascading Style Sheets , which is allowing you to specify rules that say how the content of elements within your document should appear. It is the World Wide Web Consortium (W3C) standard for defining the presentation of documents written in HTML. CSS controls the presentation layer in a web document so that the web developer gains more degree of control over how the website would appears.

CSS layer

Style sheets (CSS) are designed primarily to enable the separation of HTML document content from document presentation layer . This enable multiple web pages to share same formatting, and reduce complexity and repetition in the structural content. So we can control layout of many HTML documents from one single style sheet and it will reduces their size and bandwidth usage by more than 50% in many cases. Even you can change the appearance of a very large website by editing one style sheet.

html document

Since the CSS file is cached after the first request and can be reused for every page on the same website, it doesn`t have to be downloaded with each web page. So the web pages loaded faster than normal HTML pages after the first request.

css benefits

External Style Sheets can save a lot of work. It can be edited manually with a text editor such as Notepad , and can be identified by their .css file extension . CSS has a simple syntax like HTML and uses a number of English keywords to specify the names of various style properties.