External CSS In HTML | External CSS Example | HTML And CSS In Hindi | Lesson No 27

External CSS In HTML | External CSS Exampla | HTML And CSS In Hindi | Lesson No 27
External CSS In HTML | External CSS Example | HTML And CSS In Hindi | Lesson No 27


In this lesson, we will learn External CSS In HTML, External CSS Example. Is lesson Main Hum Log Sikhenge Ke External CSS Ka Use HTML Main Kyse Hota Hain. To Chaliye Shuru Karte Hain.


External CSS In HTML



External CSS Ko Likhne Ke Liye Hum Ko Alag Se .css extension Ka File Save Karna Padega. Us File Main CSS Ka code Likhna Padega. Jyse Niche Diye Huye CSS Code Ko Dekh Sakten Hain.

body{
    background-color:powderblue;
}
p{
    background-color:yellow;
}
h1{
    background-color:lightpink;
}
h2{
    background-color:green;
}

Is Code Ko Hum CSS Main Likha Hain. Jisme Body Ka BG Color, Paragraph Ka BG Color, h1 Tag Ka BG Color aur H2 Tag Ka BG Color Ka Code Likha Gaya Hain. Is File Ko bgcolor.css Ke Name Se Save Karna Hain. Aur Ek Dusre Notepade Ka File Open Karna Hain. Aur Niche Diye Huya Code Ko Likhna Hain.

<html>
<head>
    <link rel="stylesheet" type="text/css" href="bgcolor.css">
</head>
<body>
<h1> This Is Lesson No. 27 </h1>
<h2> Basic HTML Course For Beginners </h2>
<p> This Is HTML In Hindi Youtube Channel </p>

</body>
</html>

Yahape     <link rel="stylesheet" type="text/css" href="bgcolor.css">  code Use Kiya Hain bgcolor.css File Ko Link Karne Ke Liye. Yahape 'rel' properties Use Kiya Hain Relation Ke Liye, 'stylesheet' Property Use Kiya Hain Do Stylesheet Ko Link Karne Ke Liye. Aur Akhir Main File Name Ke liye 'href' property use Kiya Hain. Actually HTML Main Kisi Do File Ko Link Karne ke Liye <link> Tag ka Use Hota Hain.


Watch our Youtube Channel lesson no. 27

Post a Comment

0 Comments