<html>
<body>
<form id="form1" method="post" action="javascript:console.log('Submitted')">
<!-- regular textbox -->
<label for="txtName">Name:</label><br />
<input type="text" id="txtName" name="txtName" /><br />
<!-- submit button -->
<input type="image" src="http://www.w3cschool.cn/style/logo.png" />
</form>
</body>
</html>