Why it matters
Without it, phones may render a zoomed-out desktop layout. It is a one-line fix with a large effect on mobile usability.
Example
<meta name="viewport" content="width=device-width, initial-scale=1">Where you will see it
The free Mobile-friendly checker looks at this on a live page and explains what it finds in plain English: check viewport, zoom, responsive CSS and fixed-width elements for phones.
Related terms
- Responsive design: Building a page so the same HTML adapts to any screen size using flexible layouts and CSS media queries.
- Mobile-first indexing: Google predominantly uses the mobile version of a page's content for indexing and ranking.
- Responsive images: The srcset and sizes attributes list several sizes of an image so the browser downloads one that fits the screen.
Go deeper
- Mobile-friendly checklist: Why mobile-friendliness matters, the viewport tag, readable text, tap targets, zoom, content parity and media, plus how to test a page on phone-sized screens.