How to write HTML head in mobile device web development

How to write HTML head in mobile device web development

Copy code
The code is as follows:

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
<meta name="MobileOptimized" content="320">
<link rel="stylesheet" href="../css/bootstrap.min.css">
<!-- <link type="text/css" rel="stylesheet" href="../css/masterControl.css">-->
<script src="../js/jquery-2.1.0.min.js"></script>
<script src="../js/bootstrap.min.js"></script>
<script type="text/javascript" src="../js/pushMsg.js" charset="utf-8"></script>
<!--<link rel="shortcut icon" type="image/x-icon" href="img/xian.png" />-->
<title>Receive push messages</title>
<style>
html
{
font-size: 62.5%;/*10 ÷ 16 × 100% = 62.5%*/
}
</style>
</head>

<<:  Pure CSS drop-down menu

>>:  A brief discussion on the invalidation or implicit conversion of MySQL integer and string indexes

Recommend

Detailed explanation of 5 solutions for CSS intermediate adaptive layout

Preface When making a page, we often encounter co...

Mysql database index interview questions (basic programmer skills)

Table of contents introduction Indexing principle...

Develop calculator example code using native javascript

The main function of a calculator is to perform n...

vue.js downloads pictures according to picture url

Recently, when I was working on a front-end vue.j...

More elegant processing of dates in JavaScript based on Day.js

Table of contents Why use day.js Moment.js Day.js...

React entry-level detailed notes

Table of contents 1. Basic understanding of React...

Detailed explanation of Nginx process scheduling problem

Nginx uses a fixed number of multi-process models...

A detailed discussion of components in Vue

Table of contents 1. Component Registration 2. Us...

How to build mysql master-slave server on centos7 (graphic tutorial)

This article mainly introduces how to build a MyS...

Five delay methods for MySQL time blind injection

Five delay methods for MySQL time blind injection...

Why MySQL chooses Repeatable Read as the default isolation level

Table of contents Oracle Isolation Levels MySQL I...

How to deploy and start redis in docker

Deploy redis in docker First install Docker in Li...

Detailed explanation of CSS animation attribute keyframes

How long has it been since I updated my column? H...

Usage and execution process of http module in node

What is the role of http in node The responsibili...

How to use cursor triggers in MySQL

cursor The set of rows returned by the select que...