título da página de alteração JavaScript
document.title = "My New Page Title"; //change/set page title in JavaScript
Grepper
document.title = "My New Page Title"; //change/set page title in JavaScript
function toTitles(s){ return s.replace(/\w\S*/g, function(t) { return t.charAt(0).toUpperCase() + t.substr(1).toLowerCase(); }); }
var str = toTitles('abraham lincoln'); // Abraham Lincoln
document.title="New Title";
// Changing the website's <title>
document.title = "Test";
<title>This is the title</title>