LearnFast.Ninja

JavaScript change page title using JavaScript

Set new value to the title property in the document object.

Step 1: Set new value to the title property in the document object. 

document.title = "The Best Data free tutorials";

 
Result:


Tags

javascript

document title page