Home > Web Front-end > HTML Tutorial > Meta viewport enables full screen display control of web pages in iPhone_HTML/Xhtml_Web page production

Meta viewport enables full screen display control of web pages in iPhone_HTML/Xhtml_Web page production

WBOY
Release: 2016-05-16 16:41:24
Original
1608 people have browsed it

In desperation, I suddenly thought about how to make the Sina touch screen version I often visit? Open Opera,
look at the source code and find the meta viewport in the HTML header. Is this guy playing a role?
Try adding it and it really fills the screen. By the way, I checked the function of this tag and recorded it for future
use.
meta viewport


Where:
width – the width of the viewport
height – the height of the viewport
initial-scale – initial scaling
minimum-scale – the minimum scale the user is allowed to zoom to
maximum-scale – the maximum scale the user is allowed to zoom to
user-scalable – whether the user can manually zoom

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template