Answers for "how to set page title in html"

3

html title

<head>
  <title>My page title</title>
</head>
<script>
  document.title = "My new title";
</script>
Posted by: Guest on March-14-2021
4

html title attribute

/*Title popup*/

<body>
  <p title="Popup here">hover me!</p>
</body>

/*Tab title*/

<head>
  <title>This is the tab title</title>
</head>
Posted by: Guest on November-19-2020
0

change the title in html using

document.title = "My New Page Title";
Posted by: Guest on September-28-2020

Browse Popular Code Answers by Language