Advertisement
darrym

Untitled

Oct 18th, 2024
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.82 KB | Source Code | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4.     <meta charset="UTF-8">
  5.     <meta name="viewport" content="width=, initial-scale=1.0">
  6.     <title>Form</title>
  7. </head>
  8. <body>
  9.     <h1>belajar form</h1>
  10.     <h2>form login</h2>
  11.     <form action="#" method="get">
  12.        <div>
  13.             <label for="">username</label>
  14.             <input type="text" name="username" placeholder="Nama anda"
  15.        </div>
  16.         <div>
  17.             <label for="">password</label>
  18.             <input type="text" name="password" placeholder="password anda"
  19.        </div>
  20.         <div>
  21.             <input type="reset">
  22.             <input type="submit" value="login" name="login">
  23.         </div>
  24.         Jenis kelamin: <br>
  25.  
  26.  <fieldset><div>
  27.   <label for='jenis-kelamin'>Jenis Kelamin</label> <br>
  28.   <select id="jenis-kelamin" name="jenis_kelamin">
  29.     <option value="lk">Laki-laki</option>
  30.     <option value="pr">Perempuan</option>
  31.     <option value="rahasia" disabled>Rahasia</option>
  32.   </select>
  33.   </div>
  34.  
  35.   Bahasa Asing Favorit: <br>
  36.  
  37.   <div>
  38.     <input id="inggris" type="radio" name="bahasa_asing">
  39.     <label for="inggris">Inggris</label>
  40.   </div>
  41.  
  42.   <div>
  43.     <input id="arab" type="radio" name="bahasa_asing">
  44.     <label for="arab">Arab</label>
  45.   </div>
  46.  
  47.   <div>
  48.     <input id="jawa" type="radio" name="bahasa_asing">
  49.     <label for="jawa">Jawa</label>
  50.   </div>
  51. </fieldset>
  52. <fieldset>
  53. <form autocomplete="on">
  54.   <label>Nama</label>
  55.   <input name="name"> <br>
  56.   <label>Email</label>
  57.   <input name="email" type="email"> <br>
  58.   <label>Nomor Telpon</label>
  59.   <input name="phone">
  60. </form>
  61. </fieldset>
  62. <div>
  63. <select size="4">
  64.   <option>Subang</option>
  65.   <option>Solo</option>
  66.   <option>Depok</option>
  67.   <option>magelang</option>
  68.   <option>samarinda</option>
  69.   <option>Bogor</option>
  70. </select>
  71. </div>
  72. </body>
  73. </html>
Tags: html
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement