实例代码“Ctrl+/”提示“F11/ESC”全屏 返回 格式化 恢复 运行
x
 
1
<!DOCTYPE html>
2
<html>
3
<head>
4
<link rel="stylesheet" href="https://apps.bdimg.com/libs/jquerymobile/1.4.2/jquery.mobile.min.css">
5
<script src="https://apps.bdimg.com/libs/jquery/1.10.2/jquery.min.js"></script>
6
<script src="https://apps.bdimg.com/libs/jquerymobile/1.4.2/jquery.mobile.min.js"></script>
7
</head>
8
<body>
9
10
<div data-role="page" id="pageone" data-theme="a">
11
  <div data-role="header">
12
    <h1>此处是页面标题</h1>
13
  </div>
14
15
  <div data-role="content">
16
    <p>此处是内容</p>
17
    <a href="#" data-role="button">按钮</a>
18
  </div>
19
20
  <div data-role="footer">
21
    <h1>此处是页脚文本</h1>
22
  </div>
23
</div> 
24
25
</body>
26
</html>
27