QUESTION IMAGE
Question
which code sample represents the tag and the element that were introduced with html5, allowing screens to be responsive to various screen sizes without the use of javascript? a.) <body> <meta name=\viewport\ content=\width=device - height, initial - scale=1 </body> b.) <head> <meta name=\viewport\ content=\width=device - height, initial - scale=1 </head> c.) <head> <meta name=\viewport\ content=\width=device - width, initial - scale=1. </head>
The <meta name="viewport"> tag in HTML5 is used for responsive design. It should be placed in the <head> section. The correct content for making screens responsive to various screen - sizes is width=device - width (not width=device - height). This allows the page to scale according to the device's width.
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
C. <head><meta name="viewport" content="width=device-width, initial-scale=1"></head>