桌面浏览器如何处理移动元标记? [英] How do desktop browsers handle mobile meta tags?

查看:17
本文介绍了桌面浏览器如何处理移动元标记?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

具体来说,将包括 <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>同时提供给移动浏览器和桌面浏览器的页面标题中的代码在桌面浏览器中查看时会影响布局吗?

Specifically, would including <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/> in the header of a page that is served to both mobile and desktop browsers affect the layout when viewed in a desktop browser?

推荐答案

没有.它不会导致桌面浏览器出现问题.

No. It will cause no problems with desktop browsers.

这篇关于桌面浏览器如何处理移动元标记?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆