Cascading Style Sheet (CSS) MCQs with answers Page - 1

Here, you will find a collection of MCQ questions on Cascading Style Sheet (CSS). Go through these questions to enhance your preparation for upcoming examinations and interviews.

To check the correct answer, simply click the View Answer button provided for each question.

Have your own questions to contribute? Click the button below to share your MCQs with others!

+ Add Question

A

Admin • 799.53K Points
Coach

Q. Which of the following measurement represent seconds?

  • (A) second
  • (B) sec
  • (C) se
  • (D) s

A

Admin • 799.53K Points
Coach

Q. Which of the following selector is used to select elements that are read-only. When applied to form elements, this would select fields with the readonly attribute set?

  • (A) :read-only
  • (B) :required
  • (C) :target
  • (D) :valid

A

Admin • 799.53K Points
Coach

Q. Which of the following selector is used to selects the element that is the root of the document?

  • (A) ::selection
  • (B) :only-of-type
  • (C) :target
  • (D) :root

A

Admin • 799.53K Points
Coach

Q. Which of the following selector is used to selects the element that is the nth child of its parent?

  • (A) :last-of-type
  • (B) :first-of-type
  • (C) :nth-child(n)
  • (D) ::first-line

A

Admin • 799.53K Points
Coach

Q. Which of the following selector is used to selects the element that is the first child of its parent that is of its type?

  • (A) :last-of-type
  • (B) :first-of-type
  • (C) ::first-line
  • (D) :nth-child(n)

A

Admin • 799.53K Points
Coach

Q. Which of the following selector is used to selects the elements that are the default among a set of similar elements?

  • (A) :default
  • (B) ::after
  • (C) :checked
  • (D) :disabled

A

Admin • 799.53K Points
Coach

Q. Which of the following selector is used to selects siblings?

  • (A) :checked
  • (B) ::after
  • (C) E[attr^=value].
  • (D) E ~ F

A

Admin • 799.53K Points
Coach

Q. What module expands the absolute and relative units of measure, including significant changes to support animation and aural changes with time (s and ms) and angle (deg and rad) values?

  • (A) Template Layout
  • (B) Transitions
  • (C) Values and Units
  • (D) None of these

A

Admin • 799.53K Points
Coach

Q. What module defines the handling of lists, including marker styles and some aspects of counters?

  • (A) Namespaces
  • (B) Media Queries
  • (C) Lists
  • (D) Line Layout

A

Admin • 799.53K Points
Coach

Q. What module defines the management of generated content for print output, including crop mark indication, header/footer handling, and much more?

  • (A) Generated and Replaced Content
  • (B) Grid Positioning
  • (C) Behavioral Extensions
  • (D) Generated Content for Paged Media