Home | 简体中文 | 繁体中文 | 杂文 | 打赏(Donations) | ITEYE 博客 | OSChina 博客 | Facebook | Linkedin | 知乎专栏 | Search | Email

第 5 章 HTML

HTML XHTML HTML5

目录

5.1. iPhone WebApp
5.1.1. 拨打电话
5.1.2. iphone 图标设置
5.2. frame
	

	
	

5.1. iPhone WebApp

移动设备开发

5.1.1. 拨打电话

禁用电话号码识别

			
<meta name="format-detection" content="telephone=no"  />
			
			

声明电话链接

			
<a href="tel:13113668890">拨打电话</a>
			
			

5.1.2. iphone 图标设置

			
<!DOCTYPE html>
<html manifest="iphone.manifest">
<head>
    <meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1.0, maximum-scale=1.0"/>
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <link rel="apple-touch-icon" href="apple-touch-icon.png"/>
    <link rel="apple-touch-startup-image" href="apple-touch-startup-image.png" />
    <link rel="stylesheet" href="iphone.css" type="text/css" media="screen, mobile" title="main" charset="utf-8">
    <title>offline neo</title>
</head>
<body>
    ...
    ...
    ...
  <script type="text/javascript" src="iphone.js"></script>
</body>
</html>