CSS
Last updated
CSS is a style sheet language that specifies the presentation of documents written in HTML or XML.[1] Along with HTML and JavaScript, CSS forms one of the three fundamental technologies of the World Wide Web.[1]
Key facts and history
Before CSS, authors had to repeat HTML presentational markup for each heading type, making documents larger and harder to maintain.[2] CSS allows the same markup page to be presented in different styles for on-screen, print, voice, and Braille devices.[3] Color values can be specified with keywords, hexadecimal values, RGB, RGBA, HSL, or HSLA values.[4] CSS 2.1 defines three positioning schemes: normal flow, floats, and absolute positioning.[5]
The World Wide Web Consortium (W3C) is the organization that oversees the CSS specifications.[6] RFC 2318, published in March 1998, established the text/css MIME type for CSS.[6] When content is viewed on a mobile device, CSS provides alternative formatting rules.[3] A declaration block is formed by a pair of curly braces that contain a list of declarations separated by semicolons.[7]
What the cited sources add
The report notes that frameworks like iUI and Sencha Touch use CSS3 with HTML5 and JavaScript for mobile web apps.[8] Google's Chrome Web Store, announced in May 2010, hosts web applications built with standard web technologies including CSS.[8] Meyer's 2006 book "Cascading Style Sheets: The Definitive Guide" explains that specificity determines which styles apply when multiple rules could apply.[9][10] The same book describes inheritance as a key CSS feature relying on the ancestor-descendant relationship in the document tree.[9]
Clark's 2010 report describes how HTML 5, CSS, and JavaScript are employed to develop cross-platform mobile applications.[8] According to the report, because the major mobile platforms all use similar WebKit-based browsers, support for continued improvements to CSS 3 is assured.[8]
References
- Wikipedia, "CSS" (CC BY-SA 4.0), which cites: "CSS developer guide", MDN Web Docs; Flanagan, "JavaScript: the definitive guide", O'Reilly, 18 April 2011, p. 1 (original not read by us) en.wikipedia.org
- Wikipedia, "CSS" (CC BY-SA 4.0), which cites: ((W3C HTML Working Group)), "HTML 5. A vocabulary and associated APIs for HTML and XHTML", World Wide Web Consortium (original not read by us) en.wikipedia.org
- Wikipedia, "CSS" (CC BY-SA 4.0), which cites: Clark, "Web-based Mobile Apps of the Future Using HTML 5, CSS and JavaScript", HTML Goodies, 23 July 2010 (we also read that source) en.wikipedia.org
- Wikipedia, "CSS" (CC BY-SA 4.0), which cites: "CSS Color", MDN Web Docs, 2024-04-05 (original not read by us) en.wikipedia.org
- Wikipedia, "CSS" (CC BY-SA 4.0), which cites: Bos, "9.3 Positioning schemes", Cascading Style Sheets Level 2 Revision 1 (CSS 2.1) Specification, 7 December 2010 (original not read by us) en.wikipedia.org
- Wikipedia, "CSS" (CC BY-SA 4.0), which cites: "W3C CSS validation service" (we also read that source) en.wikipedia.org
- Wikipedia, "CSS" (CC BY-SA 4.0), which cites: "CSS Syntax Module Level 3", W3C (original not read by us) en.wikipedia.org
- Clark, "Web-based Mobile Apps of the Future Using HTML 5, CSS and JavaScript", HTML Goodies, 23 July 2010. facts only, no text reused. htmlgoodies.com
- Wikipedia, "CSS" (CC BY-SA 4.0), which cites: Meyer, "Cascading Style Sheets: The Definitive Guide", O'Reilly Media, Inc., 2006 (we also read that source) en.wikipedia.org
- Open Library record, ISBN 0596527330 ("CSS"). CC0 (metadata); book content not read. openlibrary.org
Each numbered sentence above was checked against the source it cites before publication. Sentences citing Wikipedia adapt text from the English Wikipedia article CSS (contributors), used under CC BY-SA 4.0; this entry is available under the same licence. Other sources were used for facts only; no text or images are copied from them.
More in Computing & Digital
Sources
Compiled from Wikipedia and the sources listed below. Text from Wikipedia is available under CC BY-SA 4.0; this entry is adapted from it.
- Wikipedia: CSS (CC BY-SA 4.0).
Spotted an error? Know more?
Reader corrections go straight into our review queue. Suggest an edit · How this site is sourced
