Home >Web Front-end >HTML Tutorial >Things you need to pay attention to when making mobile web pages_html/css_WEB-ITnose

Things you need to pay attention to when making mobile web pages_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:34:171273browse

Nowadays, mobile phones on the market have various screen sizes and resolutions. What should I do if I want to make the web page have the same display effect on different mobile phones?

Defined by Meta

1.

Function:

1 Force the width of the document and device to remain 1:1;

2 The maximum span ratio of the document is 1.0* (initial- scale initial scale value and maximum-scale maximum scale value);

3 user-scalable defines whether it can be scaled (0 means no scaling), making the page a fixed size on the device

4 Define the page Minimum width min-width, min-width:300px;

The first one is without using viewport, the second one is using viewport,

2

Allowing mobile phones to browse the web does not enable the phone function for the numbers on the web page and ignores the numbers on the page. The number is recognized as a phone number.

To enable the phone function, just phone=yes.

Statement:
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