CH 3 CASCADING STYLE SHEET - MCQ - Eng
CH 3 CASCADING STYLE SHEET - MCQ - Eng
3. Styles that are placed within style tag are called as:
a. External styles b. Inline styles
c. Embedded styles d. Html styles
7. Which of the following selector selects the element that is targeted in the
URL?
a. :selected b. :link
c. :target d. :enabled
10. Which of the following selector selects the element that is the first child of
its parents that is its type?
a. :first-of-type b. :last-child
c. ::first-line d. ::first-letter
11. If we do not want to allow a floating div to the left side of an element,
which css property will you use?
a. Margin b. Clear
c. Float d. Padding
14. Which of the following selector matches a element based on its id?
a. The universal selector b. The descendant selector
c. The class selector d. The id selector
15. Which of the following properties will use to display border around cell
without any content?
a. Empty-cell b. Blank-cell
c. Noncontent-cell d. no-cell
Jawahar Computer Education® Head Office-873/1, Sec-I, Aashiyana, Near Sai Temple, Lucknow.
B. State whether the following statements are True or False.
1. Inline element has no line break and you cannot set height and width of the
element.
2. Bo-sizing allows you to include the padding and border in element total
width and height.
3. Linking to an external style sheet allows you to have hyperlinks from your
page to the World Wide Web.
4. The link element should be placed at the top of the body section.
8. You can used absolute lengths to specify the height and width of an element.
10. You can write the CSS code once and then you can reuse same sheet in
multiple HTML pages.
Jawahar Computer Education® Head Office-873/1, Sec-I, Aashiyana, Near Sai Temple, Lucknow.
C. Match the following:
Jawahar Computer Education® Head Office-873/1, Sec-I, Aashiyana, Near Sai Temple, Lucknow.
D. Fill in the blanks.
Answers
1. b 2. d 3. c 4. a 5. c
A
6. b 7. c 8. a 9. d 10.a
11.b 12.c 13.b 14.d 15.a
1. T 2. T 3. F 4. F 5. T
B
6. T 7. F 8. F 9. F 10.T
1. c 2. h 3. a 4. g 5. b
C
6. j 7. d 8. i 9. e 10.f
1. b 2. f 3. c 4. d 5. a
D
6. h 7. e 8. g 9. j 10.i
Jawahar Computer Education® Head Office-873/1, Sec-I, Aashiyana, Near Sai Temple, Lucknow.
Jawahar Computer Education® Head Office-873/1, Sec-I, Aashiyana, Near Sai Temple, Lucknow.