
Q 1. Which of the following property defines how content should behave when it exceeds the width of its enclosing element?
A. overflow-y
B. overflow-x
C. overflow-z
D. overflow-width
Show Answer
Answer:-B. overflow-xExplanation
Syntax: overflow-x: auto | hiddenQ 2. Which of the following property is used to give a 3-D sense of depth to an element?
A. animation
B. perspec
C. sense
D. perspective
Show Answer
Answer:-D. perspectiveExplanation
Syntax: perspective: noneQ 3. Which of the following property is used to define whether an element should be resized and, if so, upon what axis?
A. axis
B. resize
C. set-origin
D. set-axis
Show Answer
Answer:-B. resizeExplanation
Syntax: resize: both | horizontal | noneQ 4. Which of the following property defines the alignment of Ruby text as defined by a <rt> tag, in relation to base text defined by a <ruby> tag?
A. ruby-align
B. ruby-text
C. ruby
D. none of the mentioned
Show Answer
Answer:-A. ruby-alignExplanation
Syntax: ruby-align: auto | centerQ 5. Which of the following property sets the base color for a scroll bar, which will include the scroll box, track, and scroll arrows?
A. scrollbar-base
B. scrollbar-base-color
C. scrollbar-background
D. none of the mentioned
Show Answer
Answer:-C. scrollbar-backgroundExplanation
Syntax: scrollbar-base-color: colorQ 6. Which of the following property defines a color for the face of a scroll bar, including arrow regions and the scroll box?
A. scrollbar-face
B. scrollbar-face-color
C. scrollbar-face-background
D. scrollbar-background
Show Answer
Answer:-C. scrollbar-face-backgroundQ 7. Which of the following property defines a highlight color for a scroll bar and scroll arrows?
A. scrollbar-color
B. scrollbar-highlight
C. scrollbar-highlight-color
D. scrollbar-highlight-background
Show Answer
Answer:-C. scrollbar-highlight-colorExplanation
Syntax: scrollbar-highlight-color: colorQ 8. Which of the following property defines the offset from an element’s border and its outline?
A. outline-border
B. outline-offset
C. outline-radius
D. none of the mentioned
Show Answer
Answer:-B. outline-offsetExplanation
Syntax: outline-offset: length | inheritQ 9. Which of the following property allows a marquee to be used in the case of a text overflow?
A. overflow-style
B. overflow-text
C. overflow-marquee
D. none of the mentioned
Show Answer
Answer:-A. overflow-styleExplanation
Syntax: overflow-style: auto | marquee-blockQ 10. Which of the following property specifies the transparency of an element?
A. alpha
B. opacity
C. opac
D. none of the mentioned
Leave a Reply