CSS Introduction

CSS or Cascading Style Sheet is used to add or change styles of web pages and Html elements.

One CSS file can handle the style and layout of many web pages.

When Html was developed it was not intended for it to add layouts or styles to the sites, it was intended to only show the contents of the web page. To add styles to the sites CSS was developed by W3C. The development of CSS made it very easy for developers to add styles to the sites.

body {
  background-color: lightblue;
}

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

p {
  font-family: verdana;
  font-size: 20px;
}