# Viewport metadata

*noun*

say it: **“VYOO-port MET-uh-day-tuh”** **/ˈvjuːpɔrt ˈmɛtəˌdeɪtə/**

A meta line in a page's head that tells phones to lay the page out at their own screen width instead of pretending to be a wide desktop screen and shrinking everything.

## What is **Viewport metadata**?

**Viewport metadata** — Metadata that guides how a page's viewport is sized and scaled on mobile devices.

```html
<meta name="viewport" content="width=device-width, initial-scale=1">
```

## In a sentence

- “Once I added the **viewport metadata**, the taco truck page stopped looking like a tiny zoomed-out desktop page on my phone.”

Level: Journeyman · [More HTML terms at this level](https://www.ask-codey.com/glossary?category=html&level=3)

Updated: November 9, 2026

Source: https://www.ask-codey.com/glossary/viewport-metadata
