flâneur — a map of the web's best reading

Viewport meta tag - HTML: HyperText Markup Language | MDN

developer.mozilla.org · 1,512 words · saved by 1 readers

This article describes how to use the "viewport" <meta> tag to control the viewport's size and shape.

<meta name="viewport"> HTML attribute value - HTML | MDN Skip to main content Skip to search <meta name="viewport"> HTML attribute value The viewport value for the name attribute of a <meta> element gives hints about how the viewport should be sized. If specified, you define viewport-related behaviors using a content attribute in the <meta> element as a comma-separated list of one or more values. Usage notes A <meta name="viewport"> element has the following additional attributes: content The content attribute must be defined, and its value sets various viewport-related behaviors. Its value is

Explore this link on the map →

saved by

related reading