Cascading Style Sheets (CSS)

Updated Sept 12, 2020 · 2 min read

What is CSS?

CSS (Cascading Style Sheets) is a language used to format and design the presentation of web pages, such as text size, background images, colors, page width, and so on. CSS is used with markup languages like HTML. As an analogy, if HTML were the foundation and structure of a building, then CSS would be the color and style of the building.

Advantages of CSS

CSS lets you develop a uniform design across your website. You can create .css files that separate the style of your web pages from the HTML that encodes the structure of your web pages. By separating the code, you can speed up your website as users interact with pages that use similar styling. You can also format your website for different layouts, such as mobile, desktop, tablet, and printed layouts.


Related Terms

Programming
Hypertext Markup Language (HTML)

Hypertext Markup Language (HTML) is the standard language for building web pages. The language provides the structure for content...

Programming
HyperText Transfer Protocol (HTTP)

HyperText Transfer Protocol (HTTP) is the protocol used by the Web that defines how messages are formatted and transmitted between devices...

Programming
JavaScript

JavaScript (JS) is a free programming language that sets the dynamic behavior on most websites. The dynamic behavior can mean animated...