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

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 • 802.91K Points
Coach

Q. The CSS property which is used to set the text wider or narrower compare to the default width of the font is

  • (A) font-stretch property
  • (B) font-weight property
  • (C) text-transform property
  • (D) font-variant property

A

Admin • 802.91K Points
Coach

Q. Which of the following CSS property is used to specify the type of quotation mark?

  • (A) quotes property
  • (B) z-index property
  • (C) hyphens property
  • (D) None of the above

A

Admin • 802.91K Points
Coach

Q. The CSS property used to specify the order of flex item in the grid container is -

  • (A) order property
  • (B) float property
  • (C) overflow property
  • (D) None of the above

A

Admin • 802.91K Points
Coach

Q. The CSS property used to set the indentation of the first line in a block of text is

  • (A) text-indent property
  • (B) text-stroke property
  • (C) text-decoration property
  • (D) text-overflow property

A

Admin • 802.91K Points
Coach

Q. Which of the following CSS property creates a clipping region and specifies the visible area of the element?

  • (A) visibility property
  • (B) background-clip property
  • (C) clip-path property
  • (D) None of the above

A

Admin • 802.91K Points
Coach

Q. The correct syntax to give a line over text is

  • (A) text-decoration: line-through
  • (B) text-decoration: none
  • (C) text-decoration: overline
  • (D) text-decoration: underline

A

Admin • 802.91K Points
Coach

Q. Which of the following color has this value #ff0000?

  • (A) green
  • (B) yellow
  • (C) blue
  • (D) red

A

Admin • 802.91K Points
Coach

Q. Which of the following attribute specifies the URL of the linked resource?

  • (A) href
  • (B) src
  • (C) link
  • (D) rel

A

Admin • 802.91K Points
Coach

Q. Which of the following element is used for linking a External Files to the html page?

  • (A)