0 0
Read Time:36 Second

.


What is CSS?

  • CSS is the language we use to style a Web page
  • CSS stands for Cascading Style Sheets
  • CSS describes how HTML elements are to be displayed on screen, paper, or in other media
  • CSS can control the layout of multiple web pages all at once
  • A CSS rule consists of a selector and a declaration block.
See also  Languages Class 11th and 12th CBSE Curriculum 2022-23

EXAMPLE

<!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>
See also  Learn Bank Management System Project Using Python
Happy
Happy
%
Sad
Sad
%
Excited
Excited
%
Sleepy
Sleepy
%
Angry
Angry
%
Surprise
Surprise
%