Question 63Asked in Bihar STET 2024 Paper II Computer Science, 11 Jun 2024, Shift 1 (10:00 AM)

What is the purpose of CSS media queries?सीएसएस मीडिया प्रश्नों का उद्देश्य क्या है?

सीएसएस मीडिया प्रश्नों का उद्देश्य क्या है?
  1. ATo add multimedia content to a webpageकिसी वेबपेज में मल्टीमीडिया सामग्री जोड़ने के लिए
  2. BTo create animationsऐनिमेशन बनाने के लिए
  3. CTo apply different styles based on the device's characteristicsडिवाइस की विशेषताओं के आधार पर विभिन्न शैलियों को लागू करने के लिए
  4. DTo define color schemes for a websiteकिसी वेबसाइट के लिए रंग योजनाओं को परिभाषित करने के लिए
Show answerHide answer

Correct answer: (C) To apply different styles based on the device's characteristicsडिवाइस की विशेषताओं के आधार पर विभिन्न शैलियों को लागू करने के लिए

Explanation

Media queries (@media) apply CSS rules only when conditions such as screen width, orientation or resolution match, which is the basis of responsive design.Media queries (@media) CSS नियमों को तभी लागू करती हैं जब स्क्रीन की चौड़ाई, orientation या resolution जैसी शर्तें मेल खाती हों, और यही responsive design का आधार है।

From Bihar STET 2024 Paper II Computer Science PYQ, 11 Jun 2024, Shift 1 (10:00 AM)

This is question 63 of Bihar STET 2024 Paper II Computer Science PYQ, 11 Jun 2024, Shift 1 (10:00 AM). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.