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

Create Desktop Application with PHP

Insert pandas dataframe into Mongodb

Python desktop application