Skip to content
HTML.ONE
Home Glossary

Viewport

The viewport is the visible area of a document. Responsive layouts adapt to its size.

Example

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

Further reference

MDN glossary