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
saved by
related reading
- Window: devicePixelRatio property - Web APIs | MDNdeveloper.mozilla.org
- HTML elements reference - HTML | MDNdeveloper.mozilla.org
- Say precisely what you mean.index.how
- Metadata | web.devweb.dev
- Web Interface Guidelinesvercel.com
- SVG Viewport and viewBox (For Complete Beginners) | Envato Tuts+webdesign.tutsplus.com
- WebGL Resizing the Canvas.webglfundamentals.org
- Intersection Observer API - Web APIs | MDNdeveloper.mozilla.org
- Content Firstadactio.com
- HTML elements reference - HTML | MDNdeveloper.mozilla.org
- Avoid 100vh On Mobile Web | chanind.github.iochanind.github.io
- An Introduction to the Browser Rendering Pipelinewebperf.tips