Skip to content
← Back to glossary

CSS

Learn in the textbookFeedback Display and Web Design Implementation

DefinitionCSS (Cascading Style Sheets) is a language for specifying how a web page looks, such as text color and size, backgrounds, and layout.

ExplanationA CSS rule assigns a color, size, and so on to each part, such as a heading or paragraph, written in HTML, the language that describes a page's content and structure. If every page loads one file that gathers these rules (a style sheet), fixing just that 1 file changes the look of all the pages that load it at once.

AnalogyIf HTML is the manuscript, CSS is the printing instructions that say which typeface and colors to print it in.

Memory hookStyle Sheets are sheets of paper with styles written on them. Picture 1 sheet holding only the styling, laid over page after page.

Related past-exam questions(3 questions)