How To Add CSS in Hindi | Learn Complete CSS in Hindi


CSS Ko Kesa Add Karte hai : Html Document mein style dena ke liya hum jo css style sheet banate hai usko uss html sa connect karne ke 3 tarika hai.

1. External CSS
2. Internal CSS
3. Inline CSS

External CSS : 

External sa he app samaj gaye honge ki isme bhara ka kuch connect karna hai, jesa hum html ka document banate hai jo ki .html extension ka hum banate hai vesa he hum .css extension ka bhi ek or sheet banate hai jha hum uss html ke document ko style deta hai. 


Lekin uss .css extension file ko hum html mein kesa connect karega = Usko html document mein connect karne ke liya hum head section mein link ka use karega or uss link mein hum uss .css ko connect karega.

Example :


How To Add CSS in Hindi | Learn Complete CSS in Hindi



App dek sakte hai humne do file li hai ek index.html or css ke liya index.css Or fir html mein head section mein usko link kiya hai ves yeh link pre defined hai jab app link likoge to yeh pura link khud a jayega bass apko href mein css vali file ka naaam likna hai simple.

 Output:


How To Add CSS in Hindi | Learn Complete CSS in Hindi


Internal CSS
In internal css mein hum html vale page mein he style de sakte hai simple hume head section mein ek style section lena hai or usme sab style kar sakte hai

Example :



How To Add CSS in Hindi | Learn Complete CSS in Hindi




App dek sakte hai humne isko head section mein style section liya hai elements ko style kiya hai

Output:



How To Add CSS in Hindi | Learn Complete CSS in Hindi



Inline CSS
In line css mein hum jo html element leta hai ussi mein style karte hai ussi element ko iske liya hum kisi or jagga ja kar style nahi dena hota hai

 Example :


How To Add CSS in Hindi | Learn Complete CSS in Hindi


Output:



How To Add CSS in Hindi | Learn Complete CSS in Hindi



Please do not enter any spam link in the comment box.

Post a Comment (0)
Previous Post Next Post