• CSS- Cascade Style Sheet.
  • It is a style sheet language that is used to describe the format and look of a document written in markup language.
  • It is generally used with HTML to change user interfaces and the style of web pages.
  • It can also be used with any kind of XML documents including plain SVG, XUL and XML.
  • It is used along with HTML and user interfaces for many mobile applications and JavaScript in most websites to create user interfaces for web applications.

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>Welcome to kaashiv</h1>
<p>Welcome to Wikitechy.</p>
</body>
</html>

Output :

Categorized in: