how to change the title of a page html javascript code example Example: change html title <title>This is the title</title>