js change page title code example
Example 1: javascript change page title
document.title = "My New Page Title"; //change/set page title in JavaScript
Example 2: change page title js
document.title="New Title";
document.title = "My New Page Title"; //change/set page title in JavaScript
document.title="New Title";