add title with js code example Example: javascript change title // Changing the website's <title> document.title = "Test";