Name

<fb:title/>

Synopsis

<fb:title>...</fb:title>

When placed anywhere in a canvas page, this sets the <title/> tag in HTML for a specific canvas page.

FBML-Specific Attributes

Required

None.

Optional

None.

Example FBML

Here is the FBML code for <fb:title/> used in the FBML Essentials app:

<fb:title>O'Reilly FBML Essentials - Examples, Tips, Tricks, and 
    Trivia About Facebook!</fb:title>

Rendered HTML for Single Instance of Tag

The example produces a title tag that looks like the following in <header/> in the canvas page’s HTML (Figure 3-20 shows the result):

<title>O'Reilly FBML Essentials - Examples, Tips, Tricks, and 
    Trivia About Facebook!</title>
The title bar that results from our <fb:title/> example
Figure 3-20. The title bar that results from our <fb:title/> example

Additional Information

  • This tag works only on canvas pages. It will not work on a user’s profile page.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.145.8.8