Home | 簡體中文 | 繁體中文 | 雜文 | 打賞(Donations) | Github | OSChina 博客 | 雲社區 | 雲棲社區 | Facebook | Linkedin | 知乎專欄 | 視頻教程 | About

第 9 章 HTML

HTML XHTML HTML5

目錄

9.1. iPhone WebApp
9.1.1. 撥打電話
9.1.2. iphone 表徵圖設置
9.2. frame
	

	
	

9.1. iPhone WebApp

移動設備開發

9.1.1. 撥打電話

禁用電話號碼識別

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

聲明電話連結

			
<a href="tel:13113668890">撥打電話</a>
			
			

9.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>