Page 130 - CA 165 ver 1.0 Class 10
P. 130
Solved Exercise
PART A
A. Very short answer type questions.
1. Write the names of the CSS properties used in the following:
i. HELLO ii. CSS
iii. BE HAPPY!! iv. HELLO WORLD
2. Name the CSS margin property that is used to set the right margin of an element?
3. Which link style sheet is commonly used when one web page has a unique style?
Ans. 1. i. Border-style, border-width, background-color
ii. font-family, color
iii. border-style, outline-width, outline-color, outline-style, text-align
iv. font-family, font-style
2. margin-right
3. internal style sheet
B. Fill in the blanks.
1. CSS stands for ..................................... .
2. A ..................................... selector looks for all the occurrences of the element type in the document, to apply
the mentioned properties.
3. A style rule is made up of two parts: ..................................... and ..................................... .
4. Using the ..................................... the look of the entire website can be changed by changing one CSS file.
5. The inline style is given using the ..................................... attribute.
6. The internal style is given using the <style> tag in the ..................................... section.
Ans. 1. Cascading Style sheet 2. Type 3. Selector, declaration
4. External 5. Style 6. <head>
C. Case Based MCQs
An outline is a line that is drawn around elements, to make the element “stand out”. Outline differs from borders as it is
drawn outside the element’s border, and may overlap other content CSS has many outline properties.
1. Which among the following properties is used to set the width of the outline?
i. Outline width ii. Outline offset
iii. Outline iv. None of these
2. ‘Outline-Style’ property can have values like which among the following?
i. Dotted ii. Groove
iii. Ridge iv. All of these
128 Touchpad Computer Applications-X

