Glossary

What is the viewport meta tag?

The viewport tag tells phones to fit a page to the screen. What happens without it and why blocking zoom is an accessibility problem.

1 min readBy Wiredeo

Definition

Viewport (also meta viewport)

A line of code in a page’s head that tells phones to fit the page to the screen width. Without it, phones show a tiny desktop page.

In plain English

The viewport tag is a one-line instruction. Responsive sites include it; very old sites usually don’t.

Example

<meta name="viewport" content="width=device-width, initial-scale=1"> is the standard version.

Why it matters to your business

Missing it means pinching and zooming on every phone. Adding maximum-scale=1 or user-scalable=no to it is a problem too: it stops people with low vision from zooming in.

← All website terms A to Z

Filed under Running your site

Next step

See how your own site does

Our free check looks at HTTPS, phones, software, speed basics and more in a few seconds.

Check your site Request an audit