What exactly is CSS?
CSS is a stylesheet language used to specify the display of an HTML or XML document (including XML dialects such as SVG, MathML, or XHTML). CSS specifies how items should be shown on screen, paper, during speech, or in other medium.
Our 'try it yourself code' editor makes it simple to understand the code. You may read, modify, and write your own code.
Each chapter has examples.
Hundreds of CSS examples are included in this CSS course.
You may update the CSS using our online editor and then examine the results by clicking a button.
HTML
<!DOCTYPE html>
<html>
<body>
<h1>CSS</h1>
<p>This is one of the basic examples of html</p>
</body>
</html>
CSS
body {
background-color: lightblue;
}
h1 {
color: white;
text-align: center;
}
p {
font-family: verdana;
font-size: 20px;
}