Dynamic Page Title
Preview
Code
<button onclick="document.title = 'New Page Title';"> Change Page Title </button> <p>Click the button to update the browser tab title.</p>
<button onclick="document.title = 'New Page Title';"> Change Page Title </button> <p>Click the button to update the browser tab title.</p>