CSS stands for Cascading Style Sheets.CSS is used to define styles for your web pages, including the design, layout and variations in display for different devices and screen sizes.
CSS saves a lot of work. It can control the layout of multiple web pages all at once. External stylesheets are stored in CSS files
The three types of CSS are:
<h1 style="color: blue;">Welcome to Think4U</h1>
<html>
<head>
<style>
body {
background-color: #ddd;
}
h1 {
color: green;
}
</style>
</head>
<body>
<h1>Welcome to Think4U</h1>
</body>
</html>
.css file and linked to the HTML document using the <link> tag.<html>
<head>
<link rel="stylesheet" type="text/css" href="styles.css">
</head>
<body>
<h1>Welcome to Think4U</h1>
</body>
</html>
style.css
body {
font-family: Arial, sans-serif;
}
h1 {
color: red;
}
© 2025Think4u. All Rights Reserved.