Text Input: Placeholder Labels

In the example, it'll default to 100% width (no borders on the left and right), and uses the placeholder attribute to simulate the input's label. Then the user begins to enter text into the input the placeholder label will be hidden. Notice how <textarea> can also be used as a multi-line text input.

<divclass="list"><labelclass="item item-input"><inputtype="text"placeholder="First Name"></label><labelclass="item item-input"><inputtype="text"placeholder="Last Name"></label><labelclass="item item-input"><textareaplaceholder="Comments"></textarea></label></div>