" in the head area to disable the horizontal screen of html5 pages.">
How to disable horizontal screen in html5: First open the corresponding HTML5 code file; then add "" in the head area to disable html5 The page is horizontal.
The operating environment of this article: Windows7 system, HTML5&&CSS3 version, Dell G3 computer.
Disable horizontal screen of html5 page on mobile phone
Prohibit horizontal screen of html5 page on mobile phone. The codes for prohibiting horizontal screen of uc browser and qq browser are as follows, and the meta tag is added to the head area< ;meta name="screen-orientation" content="portrait">
uc browser forces vertical screen
QQ browser forces vertical screen
UC Browser Forced Full Screen
QQ Browser Forced Full Screen
UC Browser Application Mode
QQ Browser Application Mode
windows phone click without highlight
[Recommended learning:HTML5 video tutorial]
The above is the detailed content of How to disable horizontal screen in html5. For more information, please follow other related articles on the PHP Chinese website!