how to set page title in html code example
Example 1: html title
<head>
<title>This is the title of the Website</title>
</head>
Example 2: change the title in html using
document.title = "My New Page Title";
<head>
<title>This is the title of the Website</title>
</head>
document.title = "My New Page Title";