Fb:tag-body

From Facebook Developer Wiki

Jump to: navigation, search

Description

Contains the body (contents) of an HTML tag specified by fb:tag. This tag is always a child of fb:tag.

Examples

<fb:tag name="div"> <fb:tag-attribute name="class">user_info</fb:tag-attribute> <fb:tag-attribute name="title"> <fb:intl> <fb:name uid="12345"/> has {number} friends. <fb:intl-token name="number">15</fb:intl-token> </fb:intl> </fb:tag-attribute> <fb:tag-body> <fb:intl> <fb:name uid="12345"/> is in first place. </fb:intl> </fb:tag-body> </fb:tag>

A complex example of a div with a tooltip whose text has dynamic content. This renders as <div class="user_info" title="John Smith has 15 friends.">John Smith is in first place.</div> in English.

See Also