Role of meta tags in mobile web development; Role of meta tags in web Development
Today, I encountered a problem when trying to move the page. <meta content = "telephone = no, email = no" name = "format-detection">, I have no idea what the specific meaning of this sentence is,
You can also find other <meta> tag content, which is recorded here for future reference. The following is an explanation of format-detection. If there is an error, please point it out.
Format-detection: "format detection". As its name suggests, it is used to detect some formats in html, the format-detection attribute of meta mainly includes the following settings: meta name = "format-detection" content = "telephone = no" meta name = "format-detection" content = "email = no" meta name = "format-detection" content = "adress = no" can also be connected: meta name = "format-detection" content = "telephone = no, email = no, adress = no:
1. telephone
The link style is not added to a string of numbers you clearly write, and the iPhone will automatically add the link style to your text, and click this number to automatically dial! How can I remove this dial-up link? At this time, our meta should be superb again. The Code is as follows:
If telephone is set to no, the number cannot be converted to a dial-up link!
Telephone = yes enables converting numbers to dial-up links. To enable the conversion function, you do not need to write this meta. By default, this function is enabled!
2. email
Indicates that the device does not recognize the email address. The email address is not automatically sent after the email address is clicked.
Email = no is prohibited as the email address!
Email = yes indicates that the text is enabled by default as the email address. This meta does not need to be written. It is enabled by default!
3. adress
Adress = no: Do not jump to the map!
Adress = yes enables the click address to jump directly to the map function, which is enabled by default!
Meta-apple-mobile-web-app-capable
<Meta name = "apple-mobile-web-app-capable" content = "yes"/>
This meta is used to delete the default Apple toolbar and menu bar. Content has two values: "yes" and "no". When we need to display the toolbar and menu bar, this line of meta does not need to be added. The default value is display.
The meta is added.
4. Meta-apple-mobile-web-app-status-bar-style
<Meta name = "apple-mobile-web-app-status-bar-style" content = "default"/>
<Meta name = "apple-mobile-web-app-status-bar-style" content = "black"/>
<Meta name = "apple-mobile-web-app-status-bar-style" content = "black-translucent"/>
Controls the display style of the status bar.
Status-bar-style: black
Status-bar-style: black-translucent
Address: http://blog.sina.com.cn/s/blog_6d48e77101015kqr.html