xxxxxxxxxx
<title>Title to appear in the browsers tab of the page</title>
xxxxxxxxxx
<head>
<title>My page title</title>
</head>
<script>
document.title = "My new title";
</script>
xxxxxxxxxx
/*Title popup*/
<body>
<p title="Popup here">hover me!</p>
</body>
/*Tab title*/
<head>
<title>This is the tab title</title>
</head>