/ Published in: HTML
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<input type="text" name="s" id="widget-s" value="Search" onblur="if (this.value == '') {this.value = 'Search';}" onfocus="if (this.value == 'Search') {this.value = '';}">