Lesson 1 of 50 · css
What is CSS?
Duration: 8 mins
CSS (Cascading Style Sheets) is the language that describes how HTML elements should look. It separates presentation from structure.
- Cascading – multiple sources of styles combine according to specificity and order.
- Selectors – point to which elements to style.
- Properties – describe visual aspects (color, size, layout, etc.).
Example: Simple Inline Style
<p style="color:red; font-weight:bold;">Hello CSS!</p>