编辑下面的代码:【加编码】
<html> <head> <link rel="stylesheet" href="https://libs.baidu.com/jquerymobile/1.4.2/jquery.mobile.min.css"> <script src="https://libs.baidu.com/jquery/1.10.2/jquery.min.js"></script> <script src="https://libs.baidu.com/jquerymobile/1.4.2/jquery.mobile.min.js"></script> </head> <body> <div data-role="page" id="pageone"> <div data-role="header"> <a href="#" data-role="button" data-icon="home" data-theme="b">首页</a> <h1>欢迎来到我的主页</h1> <a href="#" data-role="button" data-icon="search" data-theme="e">搜索</a> </div> <div data-role="content"> <p>此处是内容...</p> </div> <div data-role="footer"> <a href="#" data-role="button" data-theme="b" data-icon="plus">在Facebook上关注我</a> <a href="#" data-role="button" data-theme="c" data-icon="plus">在Twitter上关注我</a> <a href="#" data-role="button" data-theme="e" data-icon="plus">在Instagram上关注我</a> </div> </div> </body> </html>
结果: 【此窗口】 帮助?
Try it Yourself - © 自强学堂