Label inside Input


/ Published in: HTML

Nothing special, just need it here to remember


Copy this code and paste it in your HTML
  1. <input name="name" onfocus="if (this.value=='Name') this.value = ''" onblur="if (this.value=='') this.value = 'Name'" type="text" value="Name">

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.