Home > Article > Web Front-end > How to determine whether a webpage is for mobile use when the source code of the webpage is available_html/css_WEB-ITnose
Are there any tags or elements that will definitely be there? How can I judge it through js?
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