Advertisements
Advertisements
Question
Write an HTML document to display the following paragraph as per the given description Using CSS:
- Font Name: Cooper Black
- Style: Bold Italics
- Color: Blue
“The State Institute of Education (SIE) was established in 1965 to provide for systematic study of problems relating to School Education under the administration of Directorate of School Education.”
Answer in Brief
Advertisements
Solution
Mystyle.css
H1
{
font-family : "Comic Sans MS";
Font-weight : Bold;
border:2px solid blue;
}
P {
Font-family : "Copper Black";
font-style : Italic;
color : Blue;
Font-weight : bold;
}
---CSS_Test.htm---
<html>
<head>
<title> Demonstration of using CSS </title>
<link rel="stylesheet" type="text/css" href="mystyle.css">
</head>
<body bgcolor = yellow>
<H1> State Institute of Education (SIE) </H1>
<P>
The State Institute of Education (SIE) was established in 1965
to provide for systematic study of problems relating to school
Education under the administration of Directorate of School Education.
</P>
</body>
</html>shaalaa.com
Introduction to CSS
Is there an error in this question or solution?
APPEARS IN
RELATED QUESTIONS
Expansion of CSS ______.
Which of the following is the page level style?
CSS is also called as ______.
The declaration should be terminated by
Which of the following indicates that the text included is a comment?
What is CSS?
Write down general format of CSS declaration.
What are the advantages of using CSS? Advantages of CSS
Write a short note on rule of CSS.
Write a CSS file to define text color and alignment to <p> tag.
