MCQ of CSS With Answer set-2
English: css - absolute position (Photo credit: Wikipedia) |
1. Which of the following are the background properties in CSS?
i) background-color ii) background-image iii) background-repeat
iv) background-position v) background
A) i, ii, iii and iv only
B) i, ii, iii and v only
C) i, ii, iv and v only
D) All i, ii, iii, iv and v
2. State whether the statement is/are True.
i) font-family property is used to change the face of a font.
ii) font-variant property is used to create small-caps effects.
A) i-True, ii-False
B) i-False, ii-True
C) i-True, ii-True
D) i-False, ii-False
3. The CSS links properties are
A) :link, :visited, :hover, :active
B) :link, :visit, :hover, :active
C) :link, :visited, :over, :active
D) :link, :visited, :hover, :active, :inactive
4. Internet Explorer uses ....................... property to create transparent images.
A) -moz-opacity:x
B) filter: alpha(opacity=x)
C) Both of the above
D) None of the above
5. The different ways to associate styles with a HTML document is/are
A) Embedded CSS with <style> element
B) Inline CSS with style attribute.
C) External CSS with <link> element.
D) All of the above
6. Which of the following is correct CSS syntex for using font property?
A) <p style="font: italic, bold, 15px;"> ................ </p>
B) <p style="font-style: italic font-weight: bold font-size: 15px;"> ................... </p>
C) <p style="font: italic bold 15px;"> ....................... </p>
D) None of the above
7. State True of False for the CSS table properties.
i) The border-spacing specifies the width that should appear between table rows.
ii) The empty-cells specifies whether the border should be shown if a cell is empty.
A) i-True, ii-False
B) i-False, ii-True
C) i-True, ii-True
D) i-False, ii-False
8. In CSS tables, the possible values for the caption-side property can have the following values.
A) top, bottom, left or right
B) top, bottom, center, left or right
C) top or bottom
D) left or right
9. The ................... property indicates whether a cell without any content should have a border displayed.
A) blank-cells
B) empty-cells
C) nocontent-cells
D) noborder-cells
10. The ..................... specifies whether a border should be solid, dashed line, doted line, double line, groove etc.
A) border-layout
B) border-decoration
C) border-style
D) border-weight
Answers:
1. D) All i, ii, iii, iv and v
2. C) i-True, ii-True
3. A) :link, :visited, :hover, :active
4. B) filter: alpha(opacity=x)
5. D) All of the above
6. C) <p style="font: italic bold 15px;"> ....................... </p>
7. B) i-False, ii-True
8. A) top, bottom, left or right
9 B) empty-cells
10 C) border-styleYou Might also view the following Related Posts
- Solved MCQ of CSS set-1
- Solved MCQ of Java Set-1
- Solved MCQ of Java Beans set-1
- Solved MCQ of Internet and HTML set-3
- Solved MCQ of Database Management System Set - 8
- Solved MCQ of System Analysis and Design Set-3
- Solved MCQ of Data Structure Set - 2
- MCQ of Computer Networking with answer set-4
You can search the following other terms
MCQ of CSS With Answer set-2
Reviewed by mohamed
on
11:14 PM
Rating:
No comments: