Empowering you to understand your world

JavaScript Tutorials: How To Set The Title Of A Page Using JavaScript

You can set the title of an HTML page using JavaScript with the following code:

document.title = 'new title';
Subscribe to our newsletter
Get notified when new content is published