The viewport meta tag is an HTML element instructing the browser how to control a page’s dimensions and scaling on mobile devices, essential for a responsive design to work correctly on screens of different sizes.
The recommended standard configuration, <meta name="viewport" content="width=device-width, initial-scale=1">, sets the page width to adapt to the device’s actual width and fixes the initial zoom level at 100%, avoiding displaying a shrunk-down desktop version on mobile.
Why it matters
Missing or incorrectly configured viewport tags are among the most common technical causes for Google flagging a page as “not mobile-friendly” in mobile usability tests.