CSS INTRODUCTION

CSS(Cascading style sheets)

CSS make web pages colorfull and make attractive .

LIKE --text color , background-color , border etc.

CSS implement three type in html document

  1. External css
  2. Internal css
  3. Inline css

NOTE : Whene use external css(stylesheet) save  file_name.css  where .css file extension of css file

css example

<!DOCTYPE html>

<html>

<head>

<meta charset="utf-8">

<title>Hello word</title>

<link rel="stylesheet" type="text/css href="style.css">

</head>

<body>

<h1>This is heading </h1>

<p>This is Paragraph </p>

</body>

</html>


style.css

h1{

color:green;

background-color:black;

   }

p{

color:red;

font-family:cursive;

  }