Inserting tags in the alt tag in Blogger

Just wondering if anyone would know how to force blog tags into "alt" tags in an image. I tried alt="data:post.labels"

not using at all?

Does anyone know how to help blogger with this?

PS - I know about "rel = tag", but for a specific template, I want the tags to appear as text in the alt tags?

+1


a source to share


1 answer


It looks like you can use the XML version of the Blogger template. If so, then you will need to use something like below if you want the ALT attribute to appear with the tag name:

expr:alt='data:label.name' 

      



You can use the same principle to display the label / tag in the TITLE attribute of a link, link like so:

<a expr:href='data:label.url' expr:title='data:label.name'><data:label.name/></a>

      

+2


a source







All Articles