Mobile Web page Common meta

Source: Internet
Author: User

Today, in front of a former company's front-end of a live room to make a revision, finishing the usual mobile page development, the most commonly used meta. As follows:

<!--define the page creator, you can leave a name, you can leave contact information -<Metaname= "Author"content= "Chenjunfeng"/><!--Describe your page's keywords to the search engine -<Metaname= "keywords"contect=""/><!--tell the search engine the main content of your site -<Metaname= "description"contect="" /><!--the following two meta functions are: After adding to the home screen, full screen display -<!--The difference between the two, the answer in Google Stackflow is -<!--they behave the same, at least for now. -<!--App-mobile-web-app-capable is the only version of mentioned in Safari documentation, so I would stick with it. -<!--it looks to me as if Apple-touch-fullscreen is used in early demos/previews, so it is left working later when the SD K got actually released, but the preferred version is the one documented. -<Metaname= "Apple-touch-fullscreen"content= "Yes"/>  <!--may be removed -<Metaname= "Apple-mobile-web-app-capable"content= "Yes"/><!--whether the phone number in the page content appears as a hyperlink, telephone=no indicates no -<Metaname= "Format-detection"content= "Telephone=no"/><!--width:viewport width (range from 200 to 10,000, default is 980 pixels) -<!--height:viewport height (range from 223 to up) -<!--Initial-scale: Initial zoom ratio (range from >0 to ten) -<!--Minimum-scale: The minimum scale to allow the user to zoom -<!--Maximum-scale: Allows the user to zoom to the maximum scale -<!--user-scalable: Whether the user can manually scale -<Metaname= "Viewport"content= "Width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no"/><!--this link is to set the icon file path on the home screen where the Web app is placed.  -<!--image size can be set to 57*57 (px) or retina can be set to 114*114 (px), ipad size is 72*72 (px) -<!--suffix precomposed is a custom highlight and fillet icon -<!--Although the official PNG images are used for illustration, the actual test JPG format is also available (not recommended) -<!--images do not need to be rounded and specular, as with the native app, the system automatically adds rounded corners and highlights to the icons.  -<!--If you do not want the system to add effect to the icon, you can use apple-touch-icon-precomposed instead of Apple-touch-icon, then we provide the icon to do their own fillet and highlight the effect.  -<!--Reference: http://blog.csdn.net/freshlover/article/details/9310437 -<Linkrel= "apple-touch-icon-precomposed"href= "Icon.png" /><!--Standard IPhone -<Linkrel= "Apple-touch-icon"Sizes= "57x57"href= "Touch-icon-iphone-114.png" /><!--Retina IPhone -<Linkrel= "Apple-touch-icon"Sizes= "114x114"href= "Touch-icon-iphone-114.png" /><!--Standard IPad -<Linkrel= "Apple-touch-icon"Sizes= "72x72"href= "Touch-icon-ipad-144.png" /><!--Retina IPad -<Linkrel= "Apple-touch-icon"Sizes= "144x144"href= "Touch-icon-ipad-144.png" /><Linkrel= "icon"href= "Favicon.ico"type= "Image/x-icon" /><Linkrel= "shortcut icon"href= "Favicon.ico"type= "Image/x-icon" /><!---------------------Less-used-------------------- -<!--tell the search engine how long it takes to crawl -<Metaname= "Revisit-after"content= "1 days">
View Code

RELATED links:

Github:https://github.com/nathanchan/generalmetademo

Mobile Web page Common meta

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.