You can set the title of an HTML page using JavaScript with the following code:
document.title = 'new title';