Page 192 - CA_165_V2.0_Flipbook
P. 192
C. Assertion and Reasoning questions.
The following questions consist of two statements – Assertion (A) and Reasoning (R). Answer these
questions by selecting the appropriate option given below:
i. Both Assertion (A) and Reason (R) are true and Reason (R) is the correct explanation of Assertion (A).
ii. Both Assertion (A) and Reason (R) are true but Reason (R) is not the correct explanation of Assertion (A).
iii. Assertion (A) is true, but Reason (R) is false.
iv. Assertion (A) is false, but Reason (R) is true.
1. Assertion (A): CSS syntax consists only of selectors without declaration blocks.
Reason (R): A declaration block contains one or more CSS properties and values to style the targeted
HTML element.
2. Assertion (A): Inline styles apply to a single element, and internal styles apply to a specific web page.
Reason (R): Inline styles are in the style attribute, and internal styles are within the <style> tag in the
<head> section.
D. Source-based/Case-based/Passage-based question.
Cascading Style Sheet' is commonly referred as CSS. CSS is a simple design language which enables to simplify
the process of making web pages. It handles and describes how an HTML webpage will be presented on a web
browser. It helps to save lot of time as one design layout can be used to make more number of web pages.
Using CSS, web designer can control the text colour, font style, paragraph spacing, columns size, background
images, layout designs, etc.
1. CSS comprises of style rules that are made up of two parts: Selector and ......................................
i. Declaration ii. Property
iii. Value iv. None of these
2. Which of the following statements is false?
i. Declaration block can contain one or more declarations separated by a semicolon.
ii. Declaration can be further categorised into Property and Value.
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
SECTION B
(Subjective Type Questions)
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?
5. Name the property that is used for positioning and formatting content.
6. A Web page must include a reference to the external style sheet file within an element inside the <HEAD>
section. Name this element.
7. Give an example of Selector.
190 Touchpad Computer Applications-X

