How we can add title of the page by JavaScript?
To change the title of a web page using JavaScript, we have to use the following syntax:
document.title = 'Your desired title';
Suggest An Answer
No suggestions Available!
To change the title of a web page using JavaScript, we have to use the following syntax:
document.title = 'Your desired title';