Created
June 27, 2020 14:18
-
-
Save dikiwidia/8be95fc2d278f505b32fb5101d21b033 to your computer and use it in GitHub Desktop.
Membuat Form Sederhana dengan HTML
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Membuat Form</title> | |
</head> | |
<body> | |
<form action="#" method="POST"> | |
<p>Username:</p> | |
<input type="text" name="username" placeholder="Username" required="required" /> | |
<p>Password:</p> | |
<input type="password" name="password" placeholder="Password" /> | |
<p>Jenis Kelamin:</p> | |
<input type="radio" name="jenis_kelamin" value="L" id=""> L | |
<input type="radio" name="jenis_kelamin" value="P" id=""> P | |
<p>Tahun Lahir</p> | |
<select name="lahir" id=""> | |
<option value="2000">2000</option> | |
<option value="1995">1995</option> | |
<option value="1990">1990</option> | |
</select> | |
<p>Setuju kah ?</p> | |
<input type="checkbox" name="agree" id=""> Saya telah membaca persyaratan dan menyetujui itu. | |
<br /> | |
<br /> | |
<input type="submit" value="Masuk"> | |
</form> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment