CSS HTML Javascript jQuery Ajax PHP Example Java MORE

CSS Introduction

CSS Stands for cascading style sheets. It is used to change the style(color, height, width, padding, margin, etc.) of the HTML element. By using CSS we can design a very good user interface for your website or web application.

In this CSS tutorial, we focus on examples rather than theory. So you can get lots of examples in this tutorial.

You can also use our CSS code editor to run the code your self. Let’s start with a simple example:

Example:
<!DOCTYPE html>
<html>
<head>
<style>
body {
  background-color: lightpink;
}

h1 {
  color: black;
  text-align: center;
}

p {
  font-size: 20px;
}
</style>
</head>
<body>

<h1>My First Webpage</h1>
<h3>About CSS</h3>
<p>CSS Stands for cascading style sheets. It is used to change the style(color, height, width, padding, margin, etc.) of the HTML element. By using CSS we can design a very good user interface for your website or web application.</p>

</body>
</html>

Run it yourself