CSS Basics
CSS Basics
1. Introduction
CSS (Cascading Style Sheets) is used to style HTML elements and enhance the appearance of web
pages.
2. CSS Syntax
selector {
property: value;
3. Types of CSS
<style>
</style>
<!DOCTYPE html>
<html>
<head>
<title>Styled Page</title>
<style>
p { font-size: 18px; }
</style>
</head>
<body>
</body>
</html>