Answers for "js current page title"

9

javascript change page title

document.title = "My New Page Title"; //change/set page title in JavaScript
Posted by: Guest on August-02-2019
0

get current page title javascript

document.querySelector("title").innerText
Posted by: Guest on May-30-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language