Home | Mirror | Search | ITEYE 博客 | OSChina 博客 | 51CTO 博客

第 2 章 HTML

HTML XHTML HTML5

目录

2.1. iPhone WebApp
2.1.1. 拨打电话
2.1.2. iphone 图标设置
	

	
	

2.1. iPhone WebApp

移动设备开发

2.1.1. 拨打电话

禁用电话号码识别

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

声明电话链接

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

2.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>
			
			
comments powered by Disqus