Process Overview
CSS (Cascading Style Sheets) is used to add colors, fonts, layouts, and spacing to web pages. It works by selecting HTML elements and applying style rules to change how they look.
CSS (Cascading Style Sheets) is used to add colors, fonts, layouts, and spacing to web pages. It works by selecting HTML elements and applying style rules to change how they look.
HTML Document
|
|-- <head>
| |-- <link rel="stylesheet" href="styles.css">
|
|-- <body>
|-- <h1>Title</h1>
|-- <p>Paragraph text</p>
CSS File (styles.css)
|
|-- body { background-color: lightblue; font-size: 16px; }
|-- h1 { color: darkblue; }
|-- p { color: black; }