Home > Web Front-end > H5 Tutorial > body text

How to use header tags on mobile

PHP中文网
Release: 2017-06-20 14:02:06
Original
2136 people have browsed it

1.meta tag http-equiv attribute syntax format:

 

		<meta http-equiv="expires" content="wed,20 Jun 2007 22:33:00 GMT"/>
		<!--expires  期限,可用于网页的到期时间,一旦网页过期,必须到服务器上重新传输-->
Copy after login

2.content-type (display character set setting) settings page use Character set

		<meta http-equiv="content-type" content="text/html" charset="utf-8"/>
Copy after login

3.keywords (Keywords)

		<meta http-equiv="Keywords" content="keywords1,keywords2...."/>
Copy after login

4.description (Description)

		<meta http-equiv="description" content="this is my page"/>
Copy after login

5.format-detection Format detection

 1 Ignore recognizing the numbers on the page as phone numbers

		<meta http-equiv="format-detection" content="telephone=no"/>
Copy after login

  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"/>
Copy after login

#6.viewport

		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!