Page 134 - CA 165 ver 1.0 Class 10
P. 134
iii. Selector is a type of attribute (such as text colour, font style, paragraph spacing, etc.) of HTML tag.
iv. None of these
3. In the syntax given: H1{COLOR:BLUE}, what does H1 represent?
i. Declaration block ii. Property
iii. Value iv. Selector
C. Fill in the blanks.
1. Cascading Style Sheets is commonly referred as ..................................... .
2. CSS style rule is made of two parts i.e. ..................................... and ..................................... .
3. A CSS declaration block is enclosed by ..................................... and always ends with a ..................................... .
4. ..................................... property of style sheet is used to change the background colour of an element.
PART B
A. Short answer type questions.
1. List all the CSS border properties.
2. List the types of values of Border width.
3. What is CSS Margin?
4. What is CSS Float?
B. Long answer type questions.
1. Explain about CSS along with its syntax.
2. Explain different properties of CSS Border.
3. How to align text in CSS?
4. Write the Syntax of:
i. CSS Font ii. CSS Outline
iii. CSS Height and Width
6. Rectify the error in the following codes and then write the output:
i. <HTML>
<HEAD> <HEAD>
<BODY>
<H1 STYLE="background:Violet;">
Happy New Year</H1>
</BODY> <HTML>
ii. <HTML>
</HEAD>
<BODY>
<P STYLE = "TEXT-ALIGN:RIGHT;">
THIS TEXT IS ALIGNED RIGHT.
<STYLE = "ALIGN:CENTER;"> THIS TEXT IS ALIGNED IN CENTER.</P>
</BODY> </HTML>
C. Application Based Questions.
1. Niransh wants to define a background image which would be displayed filling only the top of the screen.
How can he do so?
2. Ashmit is writing an HTML code to display a web page using CSS concept. He now wants to set width of
the border. How can he do so?
132 Touchpad Computer Applications-X

