源代码 :
点击运行
<!DOCTYPE html> <html> <head> <link rel="stylesheet" href="https://apps.bdimg.com/libs/jquerymobile/1.4.2/jquery.mobile.min.css"> <script src="https://apps.bdimg.com/libs/jquery/1.10.2/jquery.min.js"></script> <script src="https://apps.bdimg.com/libs/jquerymobile/1.4.2/jquery.mobile.min.js"></script> </head> <body> <div data-role="page" id="pageone"> <div data-role="header" data-theme="b"> <h1>此处是页面标题</h1> </div> <div data-role="content" data-theme="a"> <p>此处是内容。</p> <a href="#" data-role="button">按钮</a> <p>此处是 <a href="#">链接</a>!</p> </div> <div data-role="footer" data-theme="e"> <h1>此处是页脚文本</h1> </div> </div> </body> </html>
运行结果