Margaret Rouse is an award-winning technical writer and teacher known for her ability to explain complex technical subjects simply to a non-technical, business audience. Over…
Cascading Style Sheets (CSS) is a standard (or language) that describes the formatting of markup language pages. CSS defines formatting for the following document types:
CSS enables developers to separate content and visual elements for greater page control and flexibility. A CSS file is normally attached to an HTML file by means of a link in the HTML file.
In December 1998, the World Wide Web Consortium (W3C) published the first CSS specification (CSS1). This was followed by CSS Level 2 (CSS2), and CSS Level 2, Revision 1 (CSS2.1)
HTML document formatting was tedious and complex before CSS because of built-in HTML style attributes. Specifically, styled tags required detailed and repetitious descriptions of the following elements:
CSS structurally defines elements for headings (h1), sub-headings (h2), sub-sub-headings (h3), etc. Element options are available for font, color, emphasis, size, etc.
CSS allows developers to move styling elements to a separate HTML area for clean markup. For example, if a developer wanted to change the font for all h2 headings in an HTML file, a single change could be made to the attached CSS file. If no CSS file was attached, the developer would have to change the font option for each h2 heading in the main HTML file.
Techopedia’s editorial policy is centered on delivering thoroughly researched, accurate, and unbiased content. We uphold strict sourcing standards, and each page undergoes diligent review by our team of top technology experts and seasoned editors. This process ensures the integrity, relevance, and value of our content for our readers.
Margaret is an award-winning technical writer and teacher known for her ability to explain complex technical subjects to a non-technical business audience. Over the past twenty years, her IT definitions have been published by Que in an encyclopedia of technology terms and cited in articles by the New York Times, Time Magazine, USA Today, ZDNet, PC Magazine, and Discovery Magazine. She joined Techopedia in 2011. Margaret's idea of a fun day is helping IT and business professionals learn to speak each other’s highly specialized languages.
What is GitHub? GitHub is a vast platform that changes how software developers work together on projects. It's more than...
Maria WebbTechnology journalist
What is CALMS? CALMS stands for Culture, Automation, Lean, Measurement, and Sharing. It is a framework widely recognized in the...
Marshall GunnellIT & Cybersecurity Expert
What is a Pull Request? A pull request, often abbreviated as PR, is a feature in version control systems like...
Trending NewsLatest GuidesReviewsTerm of the Day