Specifying Creative Commons license using RDFa

Google recently added a Creative Commons filter in Google Image Search; To let Google know which licenses your images are released under, just enclose the image and the license's link in a div tag and to use RDFa's about attribute to specify the resource: <div about="image.jpg"> <img src="image.jpg" alt="" / /> <a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/">Creative Commons Attribution Share-Alike 3.0</a> […]

Google recently added a Creative Commons filter in Google Image Search; To let Google know which licenses your images are released under, just enclose the image and the license's link in a div tag and to use RDFa's about attribute to specify the resource:

<div about="image.jpg"> <img src="image.jpg" alt="" / /> <a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/">Creative Commons Attribution Share-Alike 3.0</a> </div>

About The Author

Deepak Gupta is a IT & Web Consultant. He is the founder and CEO of diTii.com & DIT Technologies, where he's engaged in providing Technology Consultancy, Design and Development of Desktop, Web and Mobile applications using various tools and softwares. Sign-up for the Email for daily updates. Google+ Profile.