首页 技术 正文
技术 2022年11月17日
0 收藏 771 点赞 5,289 浏览 1896 个字

一、头部设置

<!--页面窗口自动调整到设备宽度,并禁止用户及缩放页面-->
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0,maximum-scale=1.0, user-scalable=0" />
<!--
属性基本含义:
content="width=device-width:
控制 viewport 的大小,device-width 为设备的宽度
initial-scale - 初始的缩放比例
minimum-scale - 允许用户缩放到的最小比例
maximum-scale - 允许用户缩放到的最大比例
user-scalable - 用户是否可以手动缩放
--> <!--忽略将页面中的数字识别为电话号码-->
<meta name="format-detection" content="telephone=no" /> <!--忽略Android平台中对邮箱地址的识别-->
<meta name="format-detection" content="email=no" /> <!--当网站添加到主屏幕快速启动方式,可隐藏地址栏,仅针对ios的safari-->
<meta name="apple-mobile-web-app-capable" content="yes" /> <!--将网站添加到主屏幕快速启动方式,仅针对ios的safari顶端状态条的样式-->
<!-- 可选default、black、black-translucent -->
<meta name="apple-mobile-web-app-status-bar-style" content="black" />

  模型:

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no" name="viewport">
<meta content="yes" name="apple-mobile-web-app-capable">
<meta content="black" name="apple-mobile-web-app-status-bar-style">
<meta content="telephone=no" name="format-detection">
<meta content="email=no" name="format-detection">
<title>标题</title>
<link rel="shortcut icon" href="/favicon.ico" rel="external nofollow" >
</head>
<body>
内容
</body>
</html>

二、拨号、短信、邮件

  <a href="tel:15602512356" rel="external nofollow" >打电话给:15602512356</a>    <a href="sms:10010" rel="external nofollow" >发短信给: 10010</a>    <!--IOS-->
<a href="mailto:tugenhua@126.com?cc=879083421@qq.com" rel="external nofollow" >填写抄送地址</a>
<a href="mailto:tugenhua@126.com?cc=879083421@qq.com&bcc=aa@qq.com" rel="external nofollow" >填上密件抄送地址</a>
<!--Android-->
<a href="mailto:tugenhua@126.com?879083421@qq.com" rel="external nofollow" >填写抄送地址</a>
<a href="mailto:tugenhua@126.com?879083421@qq.com?aa@qq.com" rel="external nofollow" >填上密件抄送地址</a> <a href="mailto:tugenhua@126.com;879083421@qq.com;aa@qq.com" rel="external nofollow" >包含多个收件人、抄送、密件抄送人,用分号隔(;)开多个收件人的地址即可实现</a> <a href="mailto:tugenhua@126.com?subject=【邀请函】" rel="external nofollow" >包含主题,可以填上主题</a> <a href="mailto:tugenhua@126.com?body=包含内容,用" rel="external nofollow" >包含内容,用?body=可以填上内容</a> <a href="mailto:tugenhua@126.com?body=http://www.baidu.com" rel="external nofollow" >内容包含链接,含http(s)://等的文本自动转化为链接</a>
相关推荐
python开发_常用的python模块及安装方法
adodb:我们领导推荐的数据库连接组件bsddb3:BerkeleyDB的连接组件Cheetah-1.0:我比较喜欢这个版本的cheeta…
日期:2022-11-24 点赞:878 阅读:8,909
Educational Codeforces Round 11 C. Hard Process 二分
C. Hard Process题目连接:http://www.codeforces.com/contest/660/problem/CDes…
日期:2022-11-24 点赞:807 阅读:5,434
下载Ubuntn 17.04 内核源代码
zengkefu@server1:/usr/src$ uname -aLinux server1 4.10.0-19-generic #21…
日期:2022-11-24 点赞:569 阅读:6,249
可用Active Desktop Calendar V7.86 注册码序列号
可用Active Desktop Calendar V7.86 注册码序列号Name: www.greendown.cn Code: &nb…
日期:2022-11-24 点赞:733 阅读:6,060
Android调用系统相机、自定义相机、处理大图片
Android调用系统相机和自定义相机实例本博文主要是介绍了android上使用相机进行拍照并显示的两种方式,并且由于涉及到要把拍到的照片显…
日期:2022-11-24 点赞:512 阅读:7,692
Struts的使用
一、Struts2的获取  Struts的官方网站为:http://struts.apache.org/  下载完Struts2的jar包,…
日期:2022-11-24 点赞:671 阅读:4,730