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) ?
- A.
JavaScript
- B.
Media queries in CSS
- C.
HTML5
- 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.