Difference between revisions of "License HTML Code"

From Creative Commons
Jump to: navigation, search
 
 
Line 1: Line 1:
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):
+
If you wish to insert license information into HTML pages (online or offline), visit http://creativecommons.org/license/ and copy&paste the HTML provided into your page/post/template.
  
Use the link element's "copyright" rel value to point to the license like so:
+
See [[Marking Works Technical]] for background.
    <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:
 
    &lt;!--
 
    <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>
 
    --&gt;
 
 
 
(These are all in addition to the text and image generated by the
 
[http://creativecommons.org/license/ license selection process].)
 

Latest revision as of 23:47, 8 April 2007

If you wish to insert license information into HTML pages (online or offline), visit http://creativecommons.org/license/ and copy&paste the HTML provided into your page/post/template.

See Marking Works Technical for background.