Introduction Of CSS, Website बनाना हुआ आसान
Here's a brief introduction to CSS:
*History*: CSS was first introduced in 1996 by Håkon Wium Lie and Bert Bos.
*Key features*:
- *Selectors*: Used to target HTML elements and apply styles.
- *Properties*: Define the styles to be applied (e.g., color, font-size, background-image).
- *Values*: Specify the values for the properties (e.g., red, 18px, url('image.jpg')).
- *Units*: Used to specify measurements (e.g., px, em, %).
*Types of CSS*:
- *Internal CSS*: Written directly in the HTML document using the `<style>` element.
- *External CSS*: Written in a separate file with a `.css` extension and linked to the HTML document using the `<link>` element.
- *Inline CSS*: Written directly in the HTML element using the `style`
0 टिप्पणियाँ