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