Skip to content

Instantly share code, notes, and snippets.

Last active October 7, 2017 11:01
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
<form method="post" action="signup.php">
<label for="signup-email">E-mail (required) :</label>
<input type="email" name="email" id="signup-email" required>
<label for="signup-password">Password (required) :</label>
<input type="password" name="password" id="signup-password" required>
<label for="signup-nickname">Nickname :</label>
<input type="text" name="nickname" id="signup-nickname" maxlength="250">
<label for="signup-phone">Phone number :</label>
<input type="tel" name="phone" id="signup-phone" pattern="[0-9 \+\-\.]+">
<label for="signup-website">Web site :</label>
<input type="url" name="website" id="signup-website">
<label for="signup-birthdate">Birthdate :</label>
<input type="date" name="birthdate" id="signup-birthdate">
<legend>Gender :</legend>
<input type="radio" name="gender" id="signup-gender-n" value="n" checked>
<label for="signup-gender-n">Not specified</label>
<input type="radio" name="gender" id="signup-gender-w" value="w">
<label for="signup-gender-w">Woman</label>
<input type="radio" name="gender" id="signup-gender-m" value="m">
<label for="signup-gender-m">Man</label>
<label for="signup-country">Country :</label>
<select name="country" id="signup-country">
<option value="ca">Canada</option>
<option value="fr" selected>France</option>
<label for="signup-description">About you :</label>
<textarea name="description" id="signup-description"></textarea>
<input type="checkbox" name="conditions" id="signup-conditions" required>
<label for="signup-conditions">I accept conditions.</label>.
<button type="submit">Signup</button>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment