This set of CSS Multiple Choice Questions & Answers (MCQs) focuses on “CSS Text”.
1. Which of the following CSS property is used to set the text formatting?
a) font
b) font-style
c) text-decoration
d) all of the mentioned
View Answer
Explanation: Self-explainatory.
2. Which of the following sets the color of any text decoration, such as underlines, overlines, and strike throughs?
a) text-font
b) text-format
c) text-color
d) text-decoration-color
View Answer
Explanation: Self-explainatory.
3. Which of the following sets what kind of line decorations are added to an element, such as underlines, overlines, etc?
a) text-style
b) text-decoration
c) text-line
d) text-decoration-line
View Answer
Explanation: Self-explainatory.
4. Which of the following text-decoration value specifies each line of text has a line above it?
a) line
b) underline
c) overline
d) blink
View Answer
Explanation: Self-explainatory.
5. Which of the following
a) text-overline
b) text-overline-decoration
c) text-overline-width
d) text-decoration-overline-width
View Answer
Explanation: Self-explainatory.
6. Which of the following CSS property determines how overflowed content that is not displayed is signaled to the users?
a) text-flow
b) text-underflow
c) text-overflow
d) none of the mentioned
View Answer
Explanation: Self-explainatory.
7. Which of the following sets the mode for the overline text decoration, determining whether the text decoration affects the space characters or not?
a) text-decoration
b) text-mode-overflow
c) text-mode
d) text-overline-mode
View Answer
Explanation: Self-explainatory.
8. Which of the following specifies what parts of an element’s content are skipped over when applying any text decoration?
a) @font-text
b) font-style
c) text-skip
d) text-decoration-skip
View Answer
Explanation: Self-explainatory.
9. Which of the following is not a appropriate value for text-overline-width?
a) thin
b) medium
c) <number>
d) none of the mentioned
View Answer
Explanation: Self-explainatory.
10. Which of the following property applies one or more drop shadows to the text?
a) text-shadow
b) text-effect
c) text-format
d) text-decoration-shadow
View Answer
Explanation: Self-explainatory.
Sanfoundry Global Education & Learning Series – CSS.
To practice all areas of CSS, here is complete set of 1000+ Multiple Choice Questions and Answers.
- Practice Information Science MCQs
- Practice HTML MCQ
- Practice Computer Science MCQs
- Apply for Computer Science Internship
- Practice MCA MCQs