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

Introduction to using data URI scheme to embed images in web pages

The data URI scheme allows us to include data in a...

Creating a Secondary Menu Using JavaScript

This article example shares the specific code of ...

Why is UTF-8 not recommended in MySQL?

I recently encountered a bug where I was trying t...

19 MySQL optimization methods in database management

After MySQL database optimization, not only can t...

How to create a view in MySQL

Basic syntax You can create a view using the CREA...

Basic reference types of JavaScript advanced programming

Table of contents 1. Date 2. RegExp 3. Original p...

Example of using CSS filter to write mouse over effect

Use CSS filter to write mouse over effect <div...

Detailed explanation of several methods of installing software in Linux

1. RPM package installation steps: 1. Find the co...

Summary of uncommon operators and operators in js

Summary of common operators and operators in java...

Util module in node.js tutorial example detailed explanation

Table of contents Starting from type judgment Str...

Solution to the problem that Navicat cannot remotely connect to MySql server

The solution to the problem that Navicat cannot r...

How to calculate the value of ken_len in MySQL query plan

The meaning of key_len In MySQL, you can use expl...

A complete guide to Linux environment variable configuration

Linux environment variable configuration When cus...

A brief talk about cloning JavaScript

Table of contents 1. Shallow cloning 2. Deep clon...