Skip to content

Instantly share code, notes, and snippets.

@dorman99
Created September 30, 2017 05:45
Show Gist options
  • Save dorman99/380509c5452d2863c15e7bc53cab5480 to your computer and use it in GitHub Desktop.
Save dorman99/380509c5452d2863c15e7bc53cab5480 to your computer and use it in GitHub Desktop.
Form // source https://jsbin.com/nukigil
<!DOCTYPE html>
<html>
<title>Form</title>
<head>
<h1>Buat account Baru ! </h1>
<p> Silakan isi data di anda pada <em>form</em> berikut :</p>
</head>
<body>
<h3>Sign Up Form</h3><br/>
<form action = "welcome.html" method="POST">
<form> First name :<br/>
<input id= "first-name" name="first-name" type ="text"> <br/><br>
Last name :<br/>
<input id= "last-name" name="last-name" type ="text">
</form> <br>
<form>
<label for="gender">Gender:</label>
<input id="male-radio" type="radio" name="gender" value="male">
<label for="male-radio">Male</label>
<input id="female-radio" type="radio" name="gender" value="female">
<label for="female-radio">Female</label>
</form><br>
<form>
<p> <label for ="nationallity" > Nationallity</label> <br>
<detalist id="negara">
<label for ="suggestion">
<select id="suggestion" name="altnegara">
<option value="indonesian">indonesian</option>
<option value="malaysian">Malaysian</option>
<option value="american">American</option>
</select>
</detailist>
</p>
</form> <br>
<form> <label for = "bahasa">Language Spoken: </label><br>
<input id="check-bahasa" type ="checkbox"name="bahasa" value="bahasaindonesia">
<label for ="check-bahasa"> Bahasa Indonesia </label>
<br> <input id="check-english" type="checkbox"name="english" value="bahasaenglish" >
<label for ="check-englsih" >English </label>
<br> <input id='check-other' type='checkbox'name='other'>
<label for ="check-other">Other</label>
</form> <br>
<label>
Bio :
<input type="text" name='bio'/> </label>
<input type="submit" valur="kirim"/>
</form>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment