setTitle( )


Sets the page's title.

Setting a proper title is important to let search engines determine the topic of your page.

Note: You should always set the title inside the onReady() event handler to ensure search engines can read it.

Method Declaration
Copy
Method Parameters
titlestringRequired

The title to set.

Set a page's SEO title
JavaScript
Did this help?