CSS Tutorial
CSS stands for Cascading Style Sheets. It's a language used to style web pages by controlling the appearance of HTML elements.
.css extension.<link> tag:<link rel="stylesheet" href="style.css">
selector {
property1: value;
property2: value;
}
body - styles the entire page#header - styles the element with the id attribute "header".block - styles elements with the class attribute "block"color - sets the text colorfont-size - sets the font sizebackground-color - sets the background color#000 - black color12px - 12 pixels font size#f0f - light blue background color<p>CSS stands for Cascading Style Sheets.</p>
p {
color: red;
font-weight: bold;
}
This will style all <p> elements on the web page by setting their text color to red and making them bold.