Home > Article > Web Front-end > Meta viewport enables full screen display control of web pages in iPhone_HTML/Xhtml_Web page production
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