2015-12-27 60 views
-2

什麼樣的HTML5標籤最適合構建這個需要在各種智能手機平臺「iOS,Android,Window,...」的webViews內運行的移動網絡應用程序?針對跨平臺移動網絡視圖設計的良好HTML5頁面

標題中間的標題將發生變化,頁腳上的標籤和按鈕數量將改變,中間的內容將會有許多數據輸入控件(textfields,radio groups,...)需要垂直滾動,但頁眉和頁腳固定。側面導航儀在初始啓動時出現,並可以用滑動手勢或按左上角的菜單按鈕滑出。

謝謝

enter image description here

是這樣最適合?

<body> 
 
    <section id="firstpage" data-role="page"> 
 
     <div data-role="header"> 
 
     <h1>Activity</h1> 
 
     </div> 
 
     <div class="ui-content"> 
 
     <p>This is the content on page 1</p> 
 
     <!-- put some kind of a table with cells here --> 
 
     </div> 
 
     <div data-role="footer"> 
 
     <!-- Buttons go here --> 
 
     </div> 
 
    </section> 
 
</body>

回答

1

是的,這是它的一個很好的代表:

<body> 
    <section id="firstpage" data-role="page"> 
     <div data-role="header"> 
     <h1>Activity</h1> 
     </div> 
     <div class="ui-content"> 
     <p>This is the content on page 1</p> 
     <!-- put some kind of a table with cells here --> 
     </div> 
     <div data-role="footer"> 
     <!-- Buttons go here --> 
     </div> 
    </section> 
<section id="secondpage" data-role="page"> 
     <div data-role="header"> 
     <h1>label2</h1> 
     </div> 
     <div class="ui-content"> 
     <p>This is the content on page 1</p> 
     <!-- put some kind of a table with cells here --> 
     </div> 
     <div data-role="footer"> 
     <!-- Buttons go here --> 
     </div> 
    </section> 
</body>