Mobile viewport is set

What is the viewport meta tag, and do you still need it?

Yes, and it is not optional. It is the one line that tells a phone to render your page at the phone's width. Without it, a mobile browser assumes your site was built for a desktop and shows a shrunken, zoomed-out version of it.

By Milk Moon Studio Last updated

What it actually is

Mobile browsers inherited a compatibility behaviour from an era when almost no site was designed for phones: pretend to be a desktop screen, render the page wide, and scale the result down so it fits. The viewport tag switches that off and says this page knows what a phone is. Everything responsive in your design depends on it being there.

Why it matters

Without the tag a phone falls back to a compatibility behaviour browsers have carried for fifteen years: pretend to be a desktop screen roughly 980 pixels wide, render the page at that width, then shrink the result down to fit. Every responsive rule you wrote is then measured against a width the device does not have, so none of your breakpoints ever fire. The page is not slightly worse on a phone — it is a zoomed-out miniature with text too small to read and buttons too small to hit, and on most sites that is the version the majority of visitors get.

What good looks like

Every page declaring that it should be rendered at the device's own width at normal zoom, and doing so without preventing people from zooming in. That last part matters — some sites disable zoom to keep a layout tidy, which breaks the page for anyone who needs to magnify text to read it.

Being honest about it

This is close to non-negotiable and it is also nearly always already correct, because every modern theme and site builder includes it by default. When we do find it missing, it is a strong signal that something unusual is going on — a hand-built page, a legacy template, or a landing-page tool bypassing the site's normal layout.

Where most sites go wrong

It is rarely absent site-wide. The realistic failure is a single page escaping the normal template — a campaign landing page, an embedded application, a page built by a different tool — where the rest of the site is fine and one commercially important page is not. The other real problem is zoom being disabled, which passes a naive check while making the page inaccessible to a substantial number of people.

Not sure where yours stands?

A free scan checks this and everything else in about 20 seconds — no signup. Or if it's already flagged and you'd rather it were simply handled, we do that too.

Scan your site free

Flagged for this one? We handle it. No pitch, just a plain-English chat.

Book a call