Fb:tab-item
From Facebook Developer Wiki
Contents |
Description
Renders a standard Facebook tab. Must always be a child of fb:tabs.
Attributes
| Required | Name | Type | Description | |
| required | href | string | The URL to which the link should take the user upon click. must be absolute | |
|---|---|---|---|---|
| title | string | Specifies the text to display on the tab. | ||
| optional | align | string | Specify alignment for this tab item. (Default value is left.). Other valid value is right | |
| selected | bool | Indicates whether this tab item has the selected state. (Default value is false.) |
Examples
<fb:tabs>
<fb:tab-item href="myphotos.php" title="My Photos" />
<fb:tab-item href="recent.php" title="Recent Albums" />
</fb:tabs>
![]() |
<fb:tabs>
<fb:tab-item href="myphotos.php" title="My Photos" selected="true"/>
<fb:tab-item href="recent.php" title="Recent Albums" />
</fb:tabs>
![]() |
<fb:tabs>
<fb:tab-item href="myphotos.php" title="My Photos" align="right"/>
<fb:tab-item href="recent.php" title="Recent Albums" align="right"/>
</fb:tabs>
![]() |
Notes
- fb:tabs and fb:tab-item do not render correctly within the FBML Test Console
- Dynamic FBML, clicktohide, clicktoshow, etc., does not work with this FBML tag.



