Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=, initial-scale=1.0">
- <title>Form</title>
- </head>
- <body>
- <h1>belajar form</h1>
- <h2>form login</h2>
- <form action="#" method="get">
- <div>
- <label for="">username</label>
- <input type="text" name="username" placeholder="Nama anda"
- </div>
- <div>
- <label for="">password</label>
- <input type="text" name="password" placeholder="password anda"
- </div>
- <div>
- <input type="reset">
- <input type="submit" value="login" name="login">
- </div>
- Jenis kelamin: <br>
- <fieldset><div>
- <label for='jenis-kelamin'>Jenis Kelamin</label> <br>
- <select id="jenis-kelamin" name="jenis_kelamin">
- <option value="lk">Laki-laki</option>
- <option value="pr">Perempuan</option>
- <option value="rahasia" disabled>Rahasia</option>
- </select>
- </div>
- Bahasa Asing Favorit: <br>
- <div>
- <input id="inggris" type="radio" name="bahasa_asing">
- <label for="inggris">Inggris</label>
- </div>
- <div>
- <input id="arab" type="radio" name="bahasa_asing">
- <label for="arab">Arab</label>
- </div>
- <div>
- <input id="jawa" type="radio" name="bahasa_asing">
- <label for="jawa">Jawa</label>
- </div>
- </fieldset>
- <fieldset>
- <form autocomplete="on">
- <label>Nama</label>
- <input name="name"> <br>
- <label>Email</label>
- <input name="email" type="email"> <br>
- <label>Nomor Telpon</label>
- <input name="phone">
- </form>
- </fieldset>
- <div>
- <select size="4">
- <option>Subang</option>
- <option>Solo</option>
- <option>Depok</option>
- <option>magelang</option>
- <option>samarinda</option>
- <option>Bogor</option>
- </select>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement