Home >Web Front-end >HTML Tutorial >How to determine whether a webpage is for mobile use when the source code of the webpage is available_html/css_WEB-ITnose

How to determine whether a webpage is for mobile use when the source code of the webpage is available_html/css_WEB-ITnose

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-24 12:00:441204browse

Are there any tags or elements that will definitely be there? How can I judge it through js?


Reply to the discussion (solution)

If you have to use tags , see if these two count,

<!DOCTYPE html><meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">

17e9f1f0a90f614716289cf7d8be8cec

<meta name="viewport" content="width=device-width"/>

I hope you will post more in the html5 section in the future. Of course, you can also post here

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