CSS Inserting CSS मे इंसेर्टिंग करना सीखे

CSS can be inserted into HTML documents using several methods:

1. *External Stylesheet*: Link an external CSS file using the `<link>` tag in the HTML header.
```
<head>
  <link rel="stylesheet" type="text/css" href="style.css">
</head>
```
1. *Internal Stylesheet*: Write CSS code directly in the HTML document using the `<style>` tag in the header.
```
<head>
  <style>
    /* CSS code here */
  </style>
</head>
```
1. *Inline Styles*: Apply CSS styles directly to an HTML element using the `style` attribute.
```
<p style="color: blue;">This text is blue.</p>
```
1. *CSS Imports*: Import an external CSS file into another CSS file using the `@import` rule.
```
/* style.css */
@import "other-styles.css";
```
1. *CSS Preprocessors*: Use preprocessors like Sass or Less to write CSS code in a more efficient and modular way, which is then compiled into regular CSS.

Remember, it's a good practice to keep your CSS separate from your HTML code, using external stylesheets or internal stylesheets, to maintain a clean and organized codebase.