Skip to content

Instantly share code, notes, and snippets.

@alishalisha
Last active January 1, 2016 19:38
Show Gist options
  • Save alishalisha/8191242 to your computer and use it in GitHub Desktop.
Save alishalisha/8191242 to your computer and use it in GitHub Desktop.
Forms for Pearl. Always include the appropriate "type" of input on forms, as well as helpful placeholder text.
<form action="/" id="id-name">
<fieldset>
<label for="name">Your Name</label>
<input type="text" id="name" placeholder="Jane Doe" />
</fieldset>
<fieldset>
<label for="email">Your Email</label>
<input type="email" id="email" placeholder="name@address.com" />
</fieldset>
<fieldset>
<input type="submit" value="Subscribe" />
</fieldset>
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment