The use of the viewport metatag to adjust the content's rendering scale.
使用viewportmetatag 来调整内容的呈现伸缩。
A metatag is an HTML tag placed within the head element of an HTML document.
metatag是一个放入HTML文档的head元素内的HTML标记。
Fortunately, these Settings will be overridden by the viewport metatag, if present in your Web page.
幸运的是,如果呈现在您的Web页面内,这些设置将被viewportmetatag覆盖。
You can turn off this feature on your page with the <meta name = "format-detection" content = "telephone=no"> metatag.
您可以用 <metaname = "format-detection"content = "telephone=no"> 元标记关闭页面中的这项功能。
When this metatag is added to an HTML page, we see that the page is scaled more appropriately for the mobile device, as shown in Figure 2.
当这个metatag被添加到一个HTML页面后,我们看到此页面被缩放到更为适合这个移动设备的大小,如图2所示。
Next, we exerted control over the user's experience by controlling how the page is seen on the device through the use of the viewport metatag.
接下来,我们将实施更多的控制,即通过使用viewportmetatag控制页面如何在设备上被查看。
The most straight-forward and unobtrusive-to-the-desktop manner of accommodating the mobile user is through the use of a special metatag: viewport.
最为直观也是最不唐突的适合移动用户的方式是通过使用一个特殊的metatag:viewport。
The viewport metatag also supports minimum scale and maximum scale, which can be used to constrain just how much control a user has over the rendering of the page.
viewportmetatag还支持最小和最大伸缩,可用来限制用户对呈现页面的控制力。
To set a specific scale, the content attribute of the viewport metatag is set to an explicit value: <meta name="viewport" content="width=device-width, initial-scale=1.0 user-scalable=yes" />.
为了设置特定的值,将viewportmetatag 的content属性设为一个显式的值: <metaname="viewport" content="width=device-width, initial-scale=1.0 user-scalable=yes" />。
To set a specific scale, the content attribute of the viewport metatag is set to an explicit value: <meta name="viewport" content="width=device-width, initial-scale=1.0 user-scalable=yes" />.
为了设置特定的值,将viewportmetatag 的content属性设为一个显式的值: <metaname="viewport" content="width=device-width, initial-scale=1.0 user-scalable=yes" />。
应用推荐