Which statement is a media query that sets the media type to screen and the maximum width to 480 pixels?

A. #media width 480px (@screen)
B. @width 480px and (media screen)
C. #screen media = max-width 480px
D. @media screen and (max-width: 480px)


Answer: D

Computer Science & Information Technology

You might also like to view...

The ___________ event handler is invoked when a key is pressed by the user.

a) keyDown b) keyReleased c) keyPressed d) none of the above

Computer Science & Information Technology

The ________ is the first argument of the IF function

A) logical test B) if true statement C) value comparison D) if false statement

Computer Science & Information Technology

Press ____ to place the insertion point at the end of the document.

A. [Ctrl][Home] B. [Ctrl][Bottom] C. [Ctrl][Arrow] D. [Ctrl][End]

Computer Science & Information Technology

Which of the following statements about global variables is true?

A. A global variable is accessible only to the main function. B. A global variable is declared in the highest-level block in which it is used. C. If a function contains a local variable with the same name as a global variable, the global variable's name takes precedence within the function. D. A global variable can have the same name as a variable that is declared locally within the function. E. All of these are true.

Computer Science & Information Technology