example of a basic html page with title tag
Example 1: html title
<head>
<title>My page title</title>
</head>
<script>
document.title = "My new title";
</script>
Example 2: title tag html
<title>Title to appear in the browsers tab of the page</title>