Skip to content

Glossary: CSS Layout and Responsive Design

Viewport meta tag

Also written: viewport tag, meta viewport

The `<meta name="viewport" content="width=device-width, initial-scale=1">` line in `<head>`. It makes phones lay the page out at their real width instead of about 980px, so media queries see the true width.

Where the book teaches it

Related terms

Viewport@media