We Recommend

HTML: The Definitive Guide HTML: The Definitive Guide
They teach you that learning HTML is like learning any other language and that reading a book of rules can only take you so far. Readers begin writing what may be their first Web page just two pages into the book's second chapter. From there on, they provide a wide range of HTML coding to allow readers to learn from good examples. The book includes a handy "cheat sheet" of HTML codes for quick reference.


Posted By

1man on 06/01/08


Tagged

microformats rel tag nofollow licence


Versions (?)


Who likes this?

1 person has marked this snippet as a favorite

SpinZ


Usage of the Rel Attribute in Microformats (licence, tag, nofollow)


Published in: HTML 


Simple usage of the rel attribute in your HTML using microformats.

  1. <!-- rel-licence -->
  2. <!-- Links to the licence document for the page in question -->
  3. <!--
  4. NOTE: If embedded inside hReview, the licence is for that review,
  5. not the whole document
  6. -->
  7. <a href="http://www.creativecommons.org/..." rel="licence">Licence</a>
  8.  
  9. <!-- rel-tag -->
  10. <!-- Tags the page, or a large part of the page as being about microformats -->
  11. <!--
  12. NOTE: When used inside another microformat (hAtom), it applies to that
  13. microformat, not the whole page
  14. -->
  15. <a href="http://technorati.com/tag/microformats" rel="tag">microformats</a>
  16.  
  17. <!-- rel-nofollow -->
  18. <!-- The page linked to will gain no PageRank from the link -->
  19. <!--
  20. NOTE: Google follows the link, no PageRank added
  21. MSN: Page isn't followed, doesn't index the page
  22. Yahoo: Follows the link and indexes the page
  23. -->
  24. <a href="http://www.bbc.co.uk/" rel="nofollow">BBC Site</a>

Report this snippet 

You need to login to post a comment.