introduction to CSS


Learn CSS, Beginning CSS

Introduction


  • CSS stands for Cascading Style Sheets
  • CSS describes how HTML elements are to be displayed on screen, paper, or in other media
  • External stylesheets are stored in CSS files
  • There are three types of CSS. 1.Inline 2.Internal 3.External

Description


Here is an example.(For more information click:

https://www.w3schools.com/css/css_intro.asp

<!DOCTYPE html>
<html>
<head>
<style>
body {
  background-color: lightblue;
}
 
h1 {
  color: white;
  text-align: center;
}
 
p {
  font-family: verdana;
  font-size: 20px;
}
</style>
</head>
<body>
 
<h1>My First CSS Example</h1>
<p>This is a paragraph.</p>
 
</body>
</html>