Which of the following is used to make a webpage responsive (i.e., adapt to…

2025

Which of the following is used to make a webpage responsive (i.e., adapt to different screen sizes) ?

  1. A.

    JavaScript

  2. B.

    Media queries in CSS

  3. C.

    HTML5

  4. D.

    PHP

Attempted by 78 students.

Show answer & explanation

Correct answer: B

Media queries in CSS are used to make webpages responsive by adapting layout to different screen sizes.

Explore the full course: Tpsc Assistant Technical Officer