Introduction to CSS

What is CSS?

Full form of CSS is cascading Style Sheet. As suggested by name CSS is a styling language it is used to style part of page or all pages of website. Main purpose of using this style sheet with HTML is to improve aesthetics of webpages.

Why CSS?

CSS is used to define styles for your web pages which includes the design, layout and variations in display for different devices and screen sizes. In very beginning of internet era user needs were very limited with black and white screens and only static info with limited colors were generally preferred. But now dynamic websites are in and human needs to work remotely revolutionized internet the need of attractiveness and robust website are in demand. It Solved many problems and fill many gaps of HTML functionality some of them are mentioned

HTML was developed to display textual information it was not intended to contain tags for formatting a web page!

HTML was created to describe the content of a web page, like headings, paragraphs and tables.

Some tags like <font>, and color attributes were added to the HTML 3.2 specification. but it became huge problem for web developers. Development of large websites, where fonts and color information were added to every single page, became a long and expensive process. This problem was solved when the World Wide Web Consortium (W3C) created CSS. CSS removed the style formatting from the HTML page.

Leave a Comment