title attribute in html code example
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>
Example 3: html title attribute
<body>
<p title="Popup here">hover me!</p>
</body>
<head>
<title>This is the tab title</title>
</head>
Example 4: html title
<head>
<title>This is the title of the Website</title>
</head>
Example 5: html title popup
<img src="money.png" title="Your Bank"> // or...
<div title="Your Bank"></div>
Example 6: how to add a title in html
<!DOCKTYPE html>
<html>
<head>
<title>This Is A Website Title...</title>
</head>
<body>
<p>How to add a Title to a HTML website...</p>
</body>
</html>