Код:
<input type="text" value="Введите имя" onfocus="if (this.value == &#39;Введите имя&#39;) this.value = &#39;&#39;;" />