In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article mainly shows you "html5 how to prohibit page enlargement", the content is easy to understand, clear, hope to help you solve doubts, the following let the editor lead you to study and learn "html5 how to prohibit page magnification" this article.
Magnification can be disabled by "" in html5.
The operating environment of this tutorial: windows7 system, HTML5 version, Dell G3 computer.
Html5 forbids the phone to zoom in and out.
Html5 page, found that the default allows the user to zoom the page, or double-click on the screen to enlarge or zoom out. That is, it is equivalent to this setting.
To disable zooming, modify the corresponding parameters of the meta tag in html:
The purpose of this meta tag is to make the width of the current viewport equal to the width of the device, while not allowing the user to manually zoom.
Where maximum-scale is the maximum scaling value allowed for users, user-scalable is whether users are allowed to zoom, yes (default) is allowed, and no (0) is not allowed. The combination of the two can prevent the page from being zoomed in (after testing, one item less can not achieve the effect)
The above is all the contents of the article "how to enlarge the page in html5". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.