manaipulatin data-title using javascript code example Example: change the title in html using document.title = "My New Page Title";