How can media queries be used to target high-resolution screens?
A). <div>By using the max-resolution media feature.
B). <div>By using the min-resolution media feature.
C). <div>By using the resolution media feature.
D). <div>By using the pixel-density media feature.
What is the purpose of the hover media feature in media queries?
A). <div>To target devices with touch screens.
B). <div>To target devices with mouse or pointer capabilities.
C). <div>To target devices with high-resolution screens.
D). <div>To target devices with physical keyboards.
What is the purpose of using media queries in CSS?
A).
To create animations and transitions.
B). <div>To apply different styles based on device characteristics.
C). <div>To add interactivity to web pages.
D). <div>To structure HTML documents.
Which media feature is commonly used to target high-resolution screens, such as Retina displays?
A). <div>device-width
B). <div>device-height
C). <div>min-resolution
D). <div>resolution
What is a media feature in the context of media queries?
A). <div>An HTML element with media-related attributes.
B). <div>A condition used to target specific device characteristics.
C). <div>A CSS property that controls media playback.
D). <div>A JavaScript function for media manipulation.
How do media queries with min-resolution and max-resolution benefit styling for high-density displays?
A). <div>They target devices with reduced display resolution.
B). <div>They target devices with reduced motion sensitivity.
C). <div>They target devices with reduced color depth.
D). <div>They target devices with specific pixel densities.
Which media feature is used to target devices with a specific aspect ratio in media queries?
A). <div>aspect-ratio
B). <div>device-aspect-ratio
C). <div>device-width
D). <div>device-height
What does the orientation media feature target in media queries?
A). <div>Screen resolution.
B). <div>Screen width and height.
C). <div>Device orientation (portrait or landscape).
D). <div>Device pixel density.
Which CSS rule is used to define media queries?
A). <div>@style
B). <div>@media
C). <div>@query
D). <div>@apply
How can media queries be used to target specific devices in CSS?
A). <div>By using the device-type media feature.
B). <div>By using the device-id media feature.
C). <div>By using the device-widthanddevice-height media features.
D). <div>By using the device-pixel-ratio media feature.