Recently I was creating a contact form for a client’s website. Due to the fact that the form was in a rather small area, I didn’t have very much room for the text and inputs. See my solution below.
Usually I would write the name of the input followed by the input like this:
Since I didn’t have room for that I had to come up with a solution.
<input onfocus="this.value=''" type="text" value="First Name:" />
Here’s the code for that technique: