jQuery Mobile with Semantic Elements


/ Published in: HTML
Save to your folder(s)

An example of a more semantic version of jQuery Mobile.


Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.