Thursday, 4 March 2021

Student Information Page in HTML

cODE

 Student Information Page in HTML

* Copy this code and paste in the NotePad or in Notepad++



*Then save this file with ".demo.html extension 

*If you are working in NotePad++ then its view will be changed like this


*Then open that file with any of your browser app


The code is 👇👇👇👇👇


  1. <Html>  
  2. <head>   
  3. <center><b><u> <a style="color: red">Registration Form </b></u></a> 
  4. <title>  
  5. Registration Page  
  6. </title>  
  7. </head>  
  8. <body bgcolor="Lightskyblue">  
  9. <br>  
  10. <br>  
  11. <form>  
  12.   
  13. <label> Firstname </label>         
  14. <input type="text" name="firstname" size="15"/> <br> <br>  
  15. <label> Middlename: </label>     
  16. <input type="text" name="middlename" size="15"/> <br> <br>  
  17. <label> Lastname: </label>         
  18. <input type="text" name="lastname" size="15"/> <br> <br>  
  19.   
  20. <label>   
  21. Course :  
  22. </label>   
  23. <select>  
  24. <option value="Course">Course</option>  
  25. <option value="BCA">BCA</option>  
  26. <option value="BBA">BBA</option>  
  27. <option value="B.Tech">B.Tech</option>  
  28. <option value="MBA">MBA</option>  
  29. <option value="MCA">MCA</option>  
  30. <option value="M.Tech">M.Tech</option>  
  31. </select>  
  32.   
  33. <br>  
  34. <br>  
  35. <label>   
  36. Gender :  
  37. </label><br>  
  38. <input type="radio" name="male"/> Male <br>  
  39. <input type="radio" name="female"/> Female <br>  
  40. <input type="radio" name="other"/> Other  
  41. <br>  
  42. <br>  
  43.   
  44. <label>   
  45. Phone :  
  46. </label>  
  47. <input type="text" name="country code"  value="+91" size="2"/>   
  48. <input type="text" name="phone" size="10"/> <br> <br>  
  49. Address  
  50. <br>  
  51. <textarea cols="80" rows="5" value="address">  
  52. </textarea>  
  53. <br> <br>  
  54. Email:  
  55. <input type="email" id="email" name="email"/> <br>    
  56. <br> <br>  
  57. Password:  
  58. <input type="Password" id="pass" name="pass"> <br>   
  59. <br> <br>  
  60. Re-type password:  
  61. <input type="Password" id="repass" name="repass"> <br> <br>  
  62. <input type="button" value="Submit"/>  
  63. </form>  
  64. </body> 
  65. </center> 
  66. </html>  


1 comment:

SIMILAR QUESTIONS

HTML Sample Example