Inline CSS

Dear Students, aaj ke is Lecture me hum padenge Inline CSS ke bare main. Inline CSS kya hotI hai or inline CSS kaise work kartI hai. CSS se related ye sare topic hum Isi lecture main cover karege.

Lectures Covering Topics

  • What Is Inline CSS In Hindi
  • Syntax Of Inline CSS In Hindi
  • How To Apply Inline CSS In Hindi
  • Disadvantage of Inline CSS In Hindi

What Is Inline CSS In Hindi

Inline Css Ke Help Se Hum CSS Ko Html Tag Me He Define Kar Dete Hai. Aisa Hum Style Attributes Ke Help Se Karte Hai Jo Ki Html Tag Ke Sath He Use Kiya Jata Hai.

Agar hum html ke eak he attributes main eak hi line me style lagana chahte hai. To hame Inline CSS technique ka use karna hoga. Inline CSS html documents me style sheet lagane ka eak method bhi hai.

Yah method html ke particular sirf eak he elements par lagta hai isliye log is method ko kam use karte hai. Or main bhi aapko ye method use karne ki advice nahi dunga. Lekin hume Inline CSS method ke bare main bhi aana chahiye. Kyonki kabhi kabhi hame kisi kisi elements par is tarah ke style lagane ke jaroorat pad jati hai.

Syntax Of Inline CSS In Hindi

Inline CSS use karne ke liye aapko iska syntax ko samjhan bahut jaroori hai. Kaise aap tag open or close karoge. Kaise aap style tag or style ke property use karoge.

inline css in hindi

How To Apply Inline CSS In Hindi

Inline CSS apply karne ke liye bus aapko upar bataya gya syntax follow karna hai. Aap upar likhe hue syntax ko yahan par eassly samjh sakte hai.

  • Sabse pahle aapko html tag open karna hai. <h3>
  • Ab is tag ke andar aapko style tag start karna hai. <h3 style=” ”>
  • Style tag ke andar aapko CSS ki property likhni hai. Aap eak style tag ke andar kitini bhi property likh sakte hai. <h3 style=”color: ”> Agar aapko pta nahi hai ki CSS ki Property kya hoti hai. to aap hanmara previous lecture pad sakte hai. What Is CSS property In Hindi.
  • Property likne ke bad ab aapko property ke value likhni hoti hai. <h3 style=”color:red; margin:10px;”>
  • Ab aapko apna html tag close karna hai. <h3 style=”color:red; margin:10px;”> <h3>

Example

Output

The CSS is applied on this heading.

This paragraph is not affected.

Disadvantage of Inline CSS In Hindi

Dekho ye to aapko pata hi hoga ki kar kisi kaam ke kuch na kuch disadvantage hote hai. But hum yahn par inline CSS ke disadvantage ke bat kar rahe hai.

  • Aap inline style sheet ke andar quotations ka use nahi kar sakte hai. Agar hum quotations ka use karte hai. To browser ise style ki end value ke roop main interpret karta hai.
  • Inline CSS ki style ko hum kabhi bhi reuse nahi kar sakte. Kyonki yah CSS sirf html tag ke eak element par use hoti hai.
  • Isme style ko edit karna bahut he hard hota hai. kyonki is CSS main code har jagah alag alag faila hota hai.
  • Pseudo-codes, pseudo-classes ke sath Inline style possible nahi hoti hai.
  • Inline style sheet browser cache advantage provide nahi karta hai.

Related Lecture

Dear Students, main aasha karta hun ki aapko inline CSS Ka Lecture padh kar samjh me aa gaya hoga. Yadi aapako is  ke Lecture se related koi bhi problem hai to aap hume comment karke puch sakte hai.

Share This Post On

About Author

Thakur Aman Singh

Hey, I am Aman Singh Tomar from Taj City Agra. Through This Blog I want to share my Knowledge with all of you. Read More >>

Leave a Reply

Your email address will not be published. Required fields are marked *