I'm trying to add microformats to my file, but I'm still confused for several reasons.
Should microformats always be inside the hcard or vcard element?
Can i use multiple hcards on one page?
Can I have microformat content inside the hcard tag?
I am working on a site and I have an address in two places on the main page, as well as a callout for the hotline. So I'm just trying to figure out how to place microformats.
Assuming everything should be wrapped in an hcard element, would this be the right way to tag my code for a hotline?
<p class="hcard">Call us 24 hours a day, 7 days a week at <span class="tel hotline">415.441.KIDS (5437)</span></p>
Is the hotline class normal? Can I put both tel and hotline in the same class attribute? Is it normal that extra text 24/7 is inside the hcard element? What about the letter / number part at the end?
source share