2.content-type (display character set settings) settings page"/> 2.content-type (display character set settings) settings page">
Home > Article > Web Front-end > How to use header tags on mobile
1.meta tag http-equiv attribute syntax format:
<meta http-equiv="expires" content="wed,20 Jun 2007 22:33:00 GMT"/> <!--expires 期限,可用于网页的到期时间,一旦网页过期,必须到服务器上重新传输-->
2.content-type (display character set setting) settings page use Character set
<meta http-equiv="content-type" content="text/html" charset="utf-8"/>
3.keywords (Keywords)
<meta http-equiv="Keywords" content="keywords1,keywords2...."/>
4.description (Description)
<meta http-equiv="description" content="this is my page"/>
5.format-detection Format detection
1 Ignore recognizing the numbers on the page as phone numbers
<meta http-equiv="format-detection" content="telephone=no"/>
2 Tell the device not to recognize the email address , it will not be sent automatically after clicking.
<meta http-equiv="format-detection" content="email=no"/>
#6.viewport
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
initial-scale:[0.0-1.0] Define the initial scaling ratio
minimum- scale:[0.0-1.0] Define the minimum zoom ratio
Maximum-scale:[0.0-1.0] Define the maximum zoom ratio
User-scalable: yes/no Whether the user is allowed to manually zoom the page
The above is the detailed content of How to use header tags on mobile. For more information, please follow other related articles on the PHP Chinese website!