Fb:tag-attribute
From Facebook Developer Wiki
Contents |
Description
Contains the value of an attribute of an HTML tag specified by fb:tag. This tag is always a child of fb:tag; see fb:tag for more usage examples.
Attributes
| Required | Name | Type | Description | |
| required | name | string | The name of the attribute. |
|---|
Examples
<fb:tag name="img">
<fb:tag-attribute name="src">http://myhost/image.png</fb:tag-attribute>
<fb:tag-attribute name="alt">
<fb:intl>FooCorp company logo</fb:intl>
</fb:tag-attribute>
</fb:tag>
This renders as <img src="http://myhost/image.png" alt="FooCorp company logo" /> in English. In other languages the value of the alt attribute will be replaced with an appropriate translation, provided someone has translated the original string.
