CSS: Cascading Style Sheets ka Poora Gyaan aur Alag Alag Prakaar

Nik Patel

CSS (Cascading Style Sheets) ek markup language hai jo web pages ko design aur format karne mein istemal hoti hai. Is blog mein hum CSS ke bare mein gehraai se samjhege aur dekhege ki kitne prakaar ke CSS hote hain aur unka istemal kaise hota hai.

Your info tech

1. CSS Kya Hai?

  • CSS ek style sheet language hai jo HTML ke saath mil kar web pages ko design karne mein istemal hoti hai.
  • Yeh web pages ke fonts, colors, spacing, layout, aur bahut saare design elements ko control karta hai.

2. Internal CSS:

  • Internal CSS, ya embedded CSS, ek HTML document ke <style> tag ke andar likhi jati hai.
  • Ismein styling directly HTML document ke andar hoti hai, jo ki sirf ek specific page ke liye apply hoti hai.

3. External CSS:

  • External CSS ek separate file mein likhi jati hai aur phir HTML documents mein link ki jati hai.
  • Yeh multiple HTML documents mein ek hi styling ko apply karne ki suvidha deti hai.

4. Inline CSS:

  • Inline CSS HTML tags ke andar style attribute ke roop mein likhi jati hai.
  • Yeh specific HTML tag ke liye styling ko define karti hai, lekin generally iska istemal avoid kiya jata hai.

5. CSS Selectors:

  • CSS selectors HTML elements ko identify karne aur un par styling apply karne ke liye istemal hoti hai.
  • Alag-alag types ke selectors jaise ki element selectors, class selectors, ID selectors, aur pseudo-selectors ke bare mein janege.

6. CSS Properties aur Values:

  • CSS mein alag-alag properties jaise ki font, color, margin, padding, aur display ke liye values ka istemal hota hai.
  • Har property ke alag-alag values aur unka effect samajhne ka prayas karege.

7. CSS Frameworks:

  • CSS frameworks jaise ki Bootstrap aur Foundation web development mein popular hai.
  • In frameworks ke pre-defined styles aur components ka istemal karke web pages ko quickly aur responsive tarike se design kiya ja sakta hai.

How useful was this post?

Click on a star to rate it!

Average rating / 5. Vote count:

No votes so far! Be the first to rate this post.

Share This Article
Leave a comment