javascript change page title

JavaScript
document.title = "My New Page Title"; //change/set page title in JavaScript<title>This is the title</title>
Source

Also in JavaScript: