HTML5 [syntax points] And html5 syntax
I. header settings
<! -- The page window is automatically adjusted to the device width, and the user and scaling page are disabled --> <meta name = "viewport" content = "width = device-width, initial-scale = 1.0, minimum-scale = 1.0, maximum-scale = 1.0, user-scalable = 0 "/> <! -- Basic attribute meaning: content = "width = device-width: controls the viewport size, device-width is the device width initial-scale-initial scaling ratio minimum-scale-the minimum scaling allowed by users maximum-scale-the maximum user-scalable scaling allowed -Can users manually Zoom In or out? --> <! -- Ignore recognizing numbers on the page as phone numbers --> <meta name = "format-detection" content = "telephone = no"/> <! -- Ignore the recognition of email addresses on the Android platform --> <meta name = "format-detection" content = "email = no"/> <! -- When a website is added to the home screen for quick start, the address bar can be hidden, only for ios safari --> <meta name = "apple-mobile-web-app-capable" content = "yes"/> <! -- Add the website to the home screen Quick Start mode, only for the style of the top Status Bar of ios safari --> <! -- Optional default, black, black-translucent --> <meta name = "apple-mobile-web-app-status-bar-style" content = "black"/>
Model:
<! DOCTYPE html>
Ii. Dialing, text messages, and emails
<A href = "tel: 15602512356"> call 15602512356 </a> <a href = "sms: 10010"> send a text message to 10010 </a> <! -- IOS --> <a href = "mailto: tugenhua@126.com? Cc = 879083421@qq.com> enter cc address </a> <a href = "mailto: tugenhua@126.com? Cc = 879083421@qq.com & bcc = aa@qq.com "> Fill in the bcc address </a> <! -- Android --> <a href = "mailto: tugenhua@126.com? 879083421@qq.com> Fill in CC address </a> <a href = "mailto: tugenhua@126.com? 879083421@qq.com? Aa@qq.com> Fill in the BCC address </a> <a href = "mailto: tugenhua@126.com; 879083421@qq.com; aa@qq.com"> contains multiple recipients, CC, BCC, with semicolons (;) separated by multiple recipients of the address can be achieved </a> <a href = "mailto: tugenhua@126.com? Subject = [Invitation Letter] "> contains the subject, can fill in the subject </a> <a href =" mailto: tugenhua@126.com? Body = contains content, use "> include content, use? Body = can fill in content </a> <a href = "mailto: tugenhua@126.com? Body = http://www.baidu.com "> content contains links, including http (s): // and other texts are automatically converted to Links </a>