The viewport is the visible area of the browser—that is, the part of the website that is visible without scrolling. The size of the viewport varies greatly: A smartphone has a different viewport than a desktop monitor. In HTML code, the viewport is controlled by the meta tag ` <meta name="viewport"> `. If this tag is missing, the smartphone displays the website at desktop size—which is much too small and unreadable. Responsive design is based on the viewport concept. In web design, “VW” refers to the view width, and “VH” to the view height—that is, the width and height of the visible area.
Viewport
« Back to Glossary Index