An HTML5 Skeleton


SUBMITTED BY: hnguyenthang2012

DATE: Feb. 19, 2016, 10:42 a.m.

FORMAT: HTML

SIZE: 1.4 kB

HITS: 405

  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <title>HTML5 Skeleton</title>
  5. <meta charset="utf-8">
  6. <!--[if lt IE 9]>
  7. <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js">
  8. </script>
  9. <![endif]-->
  10. <style>
  11. body {font-family: Verdana, sans-serif; font-size:0.8em;}
  12. header,nav, section,article,footer
  13. {border:1px solid grey; margin:5px; padding:8px;}
  14. nav ul {margin:0; padding:0;}
  15. nav ul li {display:inline; margin:5px;}
  16. </style>
  17. </head>
  18. <body>
  19. <header>
  20. <h1>HTML5 SKeleton</h1>
  21. </header>
  22. <nav>
  23. <ul>
  24. <li><a href="html5_semantic_elements.asp">HTML5 Semantic</a></li>
  25. <li><a href="html5_geolocation.asp">HTML5 Geolocation</a></li>
  26. <li><a href="html5_canvas.asp">HTML5 Graphics</a></li>
  27. </ul>
  28. </nav>
  29. <section>
  30. <h1>Famous Cities</h1>
  31. <article>
  32. <h2>London</h2>
  33. <p>London is the capital city of England. It is the most populous city in the United Kingdom,
  34. with a metropolitan area of over 13 million inhabitants.</p>
  35. </article>
  36. <article>
  37. <h2>Paris</h2>
  38. <p>Paris is the capital and most populous city of France.</p>
  39. </article>
  40. <article>
  41. <h2>Tokyo</h2>
  42. <p>Tokyo is the capital of Japan, the center of the Greater Tokyo Area,
  43. and the most populous metropolitan area in the world.</p>
  44. </article>
  45. </section>
  46. <footer>
  47. <p>&copy; 2014 W3Schools. All rights reserved.</p>
  48. </footer>
  49. </body>
  50. </html>

comments powered by Disqus