Cascading Style Sheets (CSS) is a style language that defines HTML documents. CSS revolutionized the Web design and helps to control layout of many documents, can apply different media types to screens and print, and can incorporate sophisticated technologies. There is a difference between HTML and CSS. HTML is use to structure content and CSS is used for formatting structured content. It covers fonts, colors, margins, lines, height, width, background images, and many others. Today’s browsers are supported by CSS. Style sheets with CSS can add a great look to a Web site. Style sheet refers to the document itself. Designers of print uses style sheets to make sure their design is printed exactly to specifications. The style sheet helps the Web browser to render the document for viewing. CSS can use different styles for print and viewing.
First developed in 1997, CSS allow Web developers to define the look and feel of Web pages. It didn’t gained popularity until 2000 where Web browsers starting to use it. Today all browsers support CSS Level 1 through 3. CSS is used to style Web pages and also to define how Web pages should look when viewed.