Wednesday, 3 April 2019

CSS Programs inline,Internal,external

Inline:


<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<p style="color: green">The Republic Day is a national holiday of India, celebrated every year on 26th January.

This day celebrates the anniversary of the Constitution of India and the transition of India from a British Dominion to a republic on 26th January, 1950.

After getting freedom from the British rule on 15th August 1947, India was headed by King George VI till the constitution of India came into force on 26th January 1950. On this day India is declared as a democratic republic nation. Dr. Rajendra Prasad was elected as the first president of India.</p>

</body>
</html>

________________________________________________________________________________

Internal :

<!DOCTYPE html>
<html>
<head>
<title></title>
<style type="text/css">
p{
color: brown;
}
</style>


</head>
<body>
<p>The Republic Day is a national holiday of India, celebrated every year on 26th January.

This day celebrates the anniversary of the Constitution of India and the transition of India from a British Dominion to a republic on 26th January, 1950.

After getting freedom from the British rule on 15th August 1947, India was headed by King George VI till the constitution of India came into force on 26th January 1950. On this day India is declared as a democratic republic nation. Dr. Rajendra Prasad was elected as the first president of India.</p>

</body>
</html>

______________________________________________________________________________


External:

makeup.css

p{
color: red;

}


<!DOCTYPE html>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="makeup.css">
</head>
<body>
<p>The Republic Day is a national holiday of India, celebrated every year on 26th January.

This day celebrates the anniversary of the Constitution of India and the transition of India from a British Dominion to a republic on 26th January, 1950.

After getting freedom from the British rule on 15th August 1947, India was headed by King George VI till the constitution of India came into force on 26th January 1950. On this day India is declared as a democratic republic nation. Dr. Rajendra Prasad was elected as the first president of India.</p>

</body>
</html>

No comments:

Post a Comment