Mar 17, 2020by Sai gowthamHow to get the title of an Html page in JavaScriptjavascript1min readLearn how to get the title of an HTML page in JavaScript. document.title We can use the document.title property to get the current title of an HTML webpage. Here is an example: <head> <title>Hello google</title></head> console.log(document.title); // Hello googleShare: