Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

Header Bars

The header is located at the top of the page and usually contain a page
title/logo or one or two buttons (typically home, options or search).
You can add buttons to the left and/or to the right side in the header.
The code below, will add a "Home" button to the left and a "Search" button to
the right of the header title text:

Example
<div data-role="header">
<a href="#" class="ui-btn ui-icon-home ui-btn-icon-left">Home</a>
<h1>Welcome To My Homepage</h1>
<a href="#" class="ui-btn ui-icon-search ui-btn-icon-left">Search</a>
</div>

You might also like