jquery mobile中页面的标签div和标签部分有什么区别 [英] what is the difference between tag div and tag section for pages in jquery mobile
本文介绍了jquery mobile中页面的标签div和标签部分有什么区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我看到在 data-role="page"
中同时使用了 div
和 section
.例如
<头><meta charset="utf-8"/>头部><身体><p>此内容将被忽略.</p><!-- 第 4 页开始 --><section id="page4" data-role="page"><header data-role="header"><h1>jQuery Mobile</h1></header><div class="content" data-role="content"><p>外部页面!</p><p><a href="#page1">转到第一页</a>.</p>
<footer data-role="footer"><h1>O'Reilly</h1></footer></节><!-- 结束页 4--><h3>该内容也将被忽略.</h3>