Search.../

title

Gets the page's title.

Description

The page title is used in:

  • Search results.
  • When saving to favorites.
  • In the browser's tab.

A page's title is set in the Editor using the Page Settings panel. You can also set a page's title using the setTitle() function.

Note: The title in Preview mode is different than the title of the published site.

Type:

stringRead Only

Related Content:

Was this helpful?

Get the page's title

Copy Code
1let myTitle = $w("#myPage").title; // "Page Title"