CSS Quizs Question & Answers – Cross-Browser Layout Techniques

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-x
Explanation Syntax: overflow-x: auto | hidden

Q 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. perspective
Explanation Syntax: perspective: none

Q 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. resize
Explanation Syntax: resize: both | horizontal | none

Q 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-align
Explanation Syntax: ruby-align: auto | center

Q 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-background
Explanation Syntax: scrollbar-base-color: color

Q 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-background

Q 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-color
Explanation Syntax: scrollbar-highlight-color: color

Q 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-offset
Explanation Syntax: outline-offset: length | inherit

Q 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-style
Explanation Syntax: overflow-style: auto | marquee-block

Q 10. Which of the following property specifies the transparency of an element?
A. alpha
B. opacity
C. opac
D. none of the mentioned

Show Answer Answer:-B. opacity
Explanation Syntax: opacity: alphavalue | inherit

Comments

Leave a Reply

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

You cannot copy content of this page