Advertisement
Rattlesnake18

How to creat a Form using HTML

Jul 18th, 2019
583
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.34 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4.     <meta charset="UTF-8">
  5.     <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6.     <meta http-equiv="X-UA-Compatible" content="ie=edge">
  7.     <title>Document</title>
  8.     <link rel="stylesheet" href="style.css">
  9. </head>
  10. <body>
  11.     <h1>Register</h1>
  12.     <form>
  13.         First name:<input type="text">
  14.         Last name:<input type="text"><br>
  15.         Email:<input type="text"><br>
  16.         password:<input type="password"><br>
  17.         Date of birth:<input type="date"><br>
  18.         select:<input type="radio" name="gender">male
  19.         <input type="radio" name="gender">female
  20.         <input type="radio" name="gender">under18
  21.         <input type="radio" name="gender">18+<br>
  22.         phon no:<input type="text"><br>
  23.         Address:<input type="text"><br>
  24.         Relagiyon:<input type="radio"name="relageyon">Muslim
  25.         <input type="radio"name="relageyon">Hindu
  26.         <input type="radio"name="relageyon">Bodho
  27.         <input type="radio"name="relageyon">Christan <br>  
  28.         <button type="submit"value="submit">SUBMIT</button>    
  29.                
  30.  
  31.  
  32.  
  33.     </form>
  34. </body>
  35. </html>
  36. ((((**************************this is the css of this html file*********************************))))
  37. h1{
  38.     color: brown;
  39. }
  40. form{
  41.     color:gold;
  42. }
  43. body{
  44.     background-color:black;
  45. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement