Change title of a webpage in javascript


<head>
<title>Original Title</title>
</head>
<body>
<form id="frm">
<div>
<input type="button" onclick="javascript:document.title='My New title';" value="Change title" />
</div>
</form>
</body>
</html>

Tag: document.title, dynamic title in html, title 

Comments

Popular posts from this blog

Check no.of vowels in javascript and html

How to Create Image Swap Effect using CSS

Php Jquery file upload`