Posted By


damientailhades on 09/16/11

Tagged


Statistics


Viewed 643 times
Favorited by 0 user(s)

HTML5_Basic_Page_Structure


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



Copy this code and paste it in your HTML
  1. <!DOCTYPE html>
  2.  
  3. <html lang="fr">
  4. <meta charset="UTF-8">
  5.  
  6. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
  7.  
  8. <link rel="stylesheet" href="css/reset.css">
  9. <link rel="stylesheet" href="css/style.css">
  10.  
  11. <!-- [if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
  12.  
  13. <title>base d'un site html 5</title>
  14.  
  15. </head>
  16.  
  17. <!--[if IE 6]><div id="ie6"><![endif]-->
  18. <!--[if IE 7]><div id="ie7"><![endif]-->
  19. <!--[if IE 8]><div id="ie8"><![endif]-->
  20. <!--[if IE 9]><div id="ie9"><![endif]-->
  21. <header>
  22. <h1>nom du site web</h1>
  23. <h2>description du site web</h2>
  24. <nav>
  25. <ul>
  26. <li><a href="#">acceuil</a></li>
  27. <li><a href="#">blog</a></li>
  28. <li><a href="#">�  propos</a></li>
  29. </ul>
  30. </nav>
  31. </header>
  32. <section>
  33. <article>
  34. <h1>article 1</h1>
  35. <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
  36. </article>
  37. <article>
  38. <h1>article 2</h1>
  39. <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
  40. </article>
  41. </section>
  42. <footer>
  43. <p>site en html5</p>
  44. </footer>
  45. <!--[if IE 9]></div><![endif]-->
  46. <!--[if IE 8]></div><![endif]-->
  47. <!--[if IE 7]></div><![endif]-->
  48. <!--[if IE 6]></div><![endif]-->
  49. </body>
  50. </html>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.