The meta tag with attribute _______ helps in making the web page mobile responsive.
- author
- charset
- description
- viewport
The viewport attribute in the tag helps control the page's dimensions and scaling. It's crucial for responsive design as it instructs the browser how to fit the web page into different device screens. For example, content="width=device-width, initial-scale=1.0" makes the width of the page follow the screen-width of the device.
Loading...
Related Quiz
- What is the purpose of the DOCTYPE declaration in HTML documents?
- You are tasked with designing a form that will be accessible and user-friendly. How would you utilize labels, fieldsets, and legends to enhance the usability and accessibility of the form?
- How can CSS grid layout be utilized to recreate complex table layouts without using the traditional table elements?
- What is the use of the "placeholder" attribute in input elements?
- To make image maps accessible, the ______ attribute should be used within the tag.