Advertisement
tourniquet

HTML 5 tips

Jul 21st, 2014
515
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 0.71 KB | None | 0 0
  1. <!DOCTYPE html>                 <!-- document type, in this case - html5 -->
  2. <html>                      <!-- start of html file -->
  3. <head>                      <!-- contain information about html file, like title, charset encoding -->
  4. <meta charset="UTF-8">              <!-- charset -->
  5. <title>Title</title>                <!-- document title -->
  6. <link rel="stylesheet" link="style.css">    <!-- link to css style file -->
  7. </head>                     <!-- end of <head> tag -->
  8. <body>                      <!-- start of page body -->
  9. <ol></ol>                   <!-- ordered list -->
  10. <ul></ul>                   <!-- unordered list -->
  11. <q>Some Text</q>                <!-- use <q> tag instead double quote -->
  12. <a href="index.htm#top>Text</a>         <!-- back to the page top -->
  13. </body>                     <!-- end of page body -->
  14. </html>                     <!-- end of html file -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement