change html title
snippet in html

change the title in html using

user102

document.title = "My New Page Title";

change html title

user2689

<title>This is the title</title>