CSS Quizs Question & Answers – Styling Texts

Q 1. Which of the following property converts text to initial capitals, all uppercase, or all lowercase?
A. text
B. text-transform
C. text-decoration
D. text-uppercase

Show Answer Answer:-B. text-transform

Q 2. Which of the following font-variant property render text using the same letter case as in the underlying code?

A. bold
B. small-caps
C. normal
D. none of the mentioned

Show Answer Answer:-C. normal

Q 3. Which of the following property sets the alignment of the last line of a text block?
A. overflow-wrap
B. text-indent
C. text-transform
D. text-align-last

Show Answer Answer:-D. text-align-last

Q 4. Which of the following property controls how spaces and word wrapping are handled?
A. spacing
B. text-space
C. white-space
D. word-spacing

Show Answer Answer:-C. white-space

Q 5. Which of the following property specifies what line decorations, if any, are added to the text?
A. text-decoration-style
B. text-line-decoration
C. text-decoration-line
D. text-style-decoration

Show Answer Answer:-C. text-decoration-line

Q 6. Which of the following property applies one or more shadows to text?
A. text-shadow
B. shadowed
C. shadow
D. word-shadow

Show Answer Answer:-A. text-shadow

Q 7. Which of the following property allows long text, such as a URL, to be broken if it would otherwise over?
A. word-wrap
B. text-transform
C. text-overflow
D. text-indent

Show Answer Answer:-A. word-wrap

Q 8. Which of the following property sets the size of the font?
A. font-weight
B. font-variant
C. font-style
D. font-size

Show Answer Answer:-D. font-size

Q 9. Which of the following Property controls the display of small caps?
A. font-size
B. font-variant
C. font-style
D. font-weight

Show Answer Answer:-B. font-variant

Q 10. Which of the following font-weight property make the text lighter in relation to its parent?
A. lighter
B. normal
C. unfocus
D. normal

Show Answer Answer:-A. lighter

Posted

in

by

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

You cannot copy content of this page