JSFiddle - React, Tailwind, and code Playground

by mirza

HTML

<input name="email" type="text" onblur="if (this.value == '') {this.value = 'Your Email Address';}" onfocus="if (this.value == 'Your Email Address') {this.value = '';}" value="Your Email Address">