Learning by doing: Reading books and trying to understand the (code) examples
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
972 B

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8" />
  5. <title>My first jQuery Mobile code</title>
  6. <link rel="stylesheet" href="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.css">
  7. <script src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
  8. <script type="text/javascript" src="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.js"></script>
  9. <meta name="viewport" content="width=device-width, initial-scale=1">
  10. </head>
  11. <body>
  12. <div data-role="page" id="page1">
  13. <div data-role="header">
  14. <h1>First page</h1>
  15. </div>
  16. <div data-role="content">
  17. <p>This is the main content of the page.</p>
  18. <p>You can go to the <a href="ch01_04-1.html">second page</a>.</p>
  19. </div>
  20. <div data-role="footer">
  21. <h4>mobilexweb.com</h4>
  22. </div>
  23. </div>
  24. </body>
  25. </html>