License HTML Code

From Creative Commons
Revision as of 22:18, 8 April 2007 by Tadhg O'Higgins (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

If you wish to insert license information into HTML pages (online or offline), here are some pointers (modify these to reflect the license you're actually using):

Use the link element's "copyright" rel value to point to the license like so:

   <link rel="copyright" type="text/html" href="http://creativecommons.org/licenses/by-sa/2.5/" />

Use the "copyright" meta value like so:

   <meta name="copyright" content="This work is licensed under the Creative Commons Attribution-Share Alike 2.5 License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/2.5/ or send a letter to Creative Commons, 543 Howard Street, 5th Floor, San Francisco, California, 94105, USA." />

Add RDF data in a comment somewhere in your page:

   <!--
   <rdf:RDF xmlns="http://web.resource.org/cc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
       <Work rdf:about="">
           <license rdf:resource="http://creativecommons.org/licenses/by-sa/2.5/" />
           <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" />
       </Work>
       <License rdf:about="http://creativecommons.org/licenses/by-sa/2.5/">
           <permits rdf:resource="http://web.resource.org/cc/DerivativeWorks"/>
           <requires rdf:resource="http://web.resource.org/cc/Attribution"/>
           <requires rdf:resource="http://web.resource.org/cc/Attribution"/>
           <requires rdf:resource="http://web.resource.org/cc/Notice"/>
       </License>
   </rdf:RDF>
   -->

(These are all in addition to the text and image generated by the license selection process.)