Filename extension: css
Container for: Style rules for HTML elements (tags)
Developed by: World Wide Web Consortium (W3C)
Initial release: 17 December 1996
Latest release: CSS 2.1
|
CSS |
Cascading Style Sheets is a style sheet language used for describing the presentation of a document written in a markup language such as
HTML or XML. CSS is a cornerstone technology of the World Wide Web, alongside HTML and JavaScript.
CSS (Cascading Style Sheets) is a styling language used to describe the presentation of HTML (HyperText Markup Language) and XML (eXtensible Markup Language) documents. It allows web developers to separate the visual and structural elements of a web page from its content, and define styles for fonts, colors, layouts, and other design elements.
CSS works by selecting HTML elements and applying styles to them based on the selectors used.
CSS can be written directly in HTML documents using the <style> element, or in external files with a .css extension that are linked to HTML documents using the <link> element. CSS also supports several advanced features such as media queries, animations, and responsive design.
History
The history of CSS (Cascading Style Sheets) dates back to the early days of the web in the 1990s. At that time, the presentation of web pages was largely controlled by HTML tags, which made it difficult to separate the visual design from the content.
In 1994, a man named Håkon Wium Lie proposed a new technology that would allow web developers to separate the visual design from the content. He called this technology "Cascading HTML Style Sheets," and it was later renamed "Cascading Style Sheets" or CSS.
The first CSS specification was published in 1996 by the World Wide Web Consortium (W3C), the organization responsible for developing web standards. This initial specification, known as CSS level 1, provided a basic set of styling capabilities such as font selection, color, and layout.
CSS level 2 was published in 1998 and introduced a wide range of new features such as support for media-specific stylesheets, improved layout control, and support for positioning and tables.
CSS level 3, the current version of CSS, was first published in 1999 and has been continuously updated since then with new features and improvements. CSS3 includes support for advanced features such as animations, transformations, and gradients, as well as improved support for mobile devices and responsive design.