Posted By

tpryan on 12/03/11


Tagged

jquery mobile semantics html5


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

yoitsben
mmcachran
ringo380


jQuery Mobile with Semantic Elements


 / Published in: HTML
 

An example of a more semantic version of jQuery Mobile.

  1. <section data-role="page" id="second" >
  2. <header data-role="header">
  3. <h1>Second Page</h1>
  4. </header>
  5. <article data-role="content">
  6. <p>Hey! Here's more</p>
  7. </article>
  8. <footer data-role="footer">
  9. <h1>Second Page</h1>
  10. </footer>
  11. </section>

Report this snippet  

You need to login to post a comment.