CSS (Cascading Style Sheet)
What is CSS ?

CSS stands for Cascading Style Sheet. Cascading Style Sheets is a style sheet language used for describing the presentation of a document written in a markup language such as HTML. CSS is a cornerstone technology of the World Wide Web, alongside HTML and JavaScript.

Why to use CSS in Websites Designing ?

CSS is used to define styles for your web pages, including the design, layout and variations in display for different devices and screen sizes. CSS handles the look and feel part of a web page. Using CSS, you can control the color of the text, the style of fonts, the spacing between paragraphs, how columns are sized and laid out, what background images or colors are used, layout designs,variations in display for different devices and screen sizes as well as a variety of other effects. HTML was NEVER intended to contain tags for formatting a web page! To solve this problem, the World Wide Web Consortium (W3C) created CSS.

Applications of CSS

  • CSS saves time - You can create a single CSS file and reuse the same stylesheet in multiple HTML pages.
  • Pages load faster - You no need to write HTML tag attributes every time. Reuse of CSS rules makes the code less to design a web page.
  • Easy to maintain - To make a design change in all accros of all the web pages, simply change the rule once, and all elements in all the web pages will be updated automatically.
  • Multiple Device Compatibility - Stylesheets allows content to be optimized for more than one type of device like desktop, laptops, mobiles and tablets etc.
  • Global web standards - HTML attributes are being deprecated and it is being recommended to use CSS. So its a good idea to start using CSS in all the HTML pages to make them compatible to future browsers.