I recently read a book called Adaptive Webdesign, and I came across something called hcard, hcalendar, and I went to the corresponding page. Now the question is, I donโt understand how it works? It is used to represent people .. and the markup is as follows
<div class="vcard"> <a class="url fn" href="http://tantek.com/">Tantek รelik</a> </div>
Now I know that these classes have values, such as url , indicates that this link takes the user to a web page, and fn means a formatted name and so on ...
Similarly, these classes indicate to search engines that the content is hCard or it is rendered differently, etc. Can someone explain to me how this works, what are the advantages of doing this, and does it matter from an SEO point of view and are these classes predefined?
Edit: so are these classes reserved? What if I use them for other elements? And is there any javvascript that I can call the onclick buttons to save the vcard on the computer / user device?
source share