Frontend-mate and-mate

Source: Internet
Author: User
Tags home screen

Frontend-mate and-mate

<Meta> elements provide meta-information about pages, such as descriptions and keywords for search engines and update frequency.

<Meta> the tag is in the document header and does not contain any content.

<Meta> the tag attribute defines the name/value pairs associated with the document.

The content is an html document, and the webpage encoding adopts UTF-8 encoding:

<Meta http-equiv = "Content-type" content = "text/html; charset = UTF-8"/>

Define keywords for search engines:

<Meta name = "keywords" content = "HTML, CSS, XML, JAVA"/>

Definition page description:

<Meta name = "description" content = "abmer_fs"/>

Define the latest version of the page:

<Meta name = "revised" content = "David 2014/12/2"/>

Refresh the page every 5 seconds:

<Meta http-equiv = "refrsh" content = "5"/>

The page does not change as the browser scales. The page size is fixed:

<Meta name = "MobileOptimizd" content = "400"/>

Added to the background of the home screen for full screen display:

<Meta name = "apple-touch-fullscreen" content = "yes"/>

Whether to enable the icon. The content is set to yes. The web application is running in full screen mode. The default behavior is to use the Safari browser to display the content:

<Meta name = "apple-mobile-web-app-capable" content = "yes"/>

View window: The device width when trying to move the window width. It is usually set to 1.0 times. Inscaling-scale indicates the initial scaling ratio. maximum-scale = 1.0 indicates the maximum scale allowed by users. User-scalable = no indicates whether manual scaling is supported:

<Meta name = "viewport" content = "width = device-width, initial-scale = 1.0, maximum-scale = 1.0, user-scalable = no"/>

When the webapp function is enabled, the color of the top navigation bar of the mobile phone signal, time, and battery is displayed. The default value is default (white), which can be set to black (black) and black-translucent (gray translucent):

<Meta name = "apple-mobile-web-app-status-bar-style" content = "black"/>

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.