What is CSS?
CSS stands for Cascading Style Sheets. It's used to style and layout web pages.
CSS describes how HTML elements should be displayed on screen, paper, or in other media.
CSS saves a lot of work by controlling the layout of multiple web pages all at once.
/* CSS Syntax */
selector {
property: value;
}
/* Example */
h1 {
color: blue;
font-size: 24px;
text-align: center;
}
- CSS stands for Cascading Style Sheets
- CSS describes how HTML elements are displayed
- CSS saves time - you can control multiple pages at once
- External stylesheets are stored in .css files
Try CSS
<h1>Styled Heading</h1>
<p>This is a styled paragraph.</p>
Note: CSS makes your HTML pages look beautiful and professional.