Loading...
Write the HTML code to design a Student's Data input form as shown below : Student Data Input Form Name : Subscribe for Newsletter : □ Gender : Male ○ Female ○ Other ○ Country USA ▼ The following input elements should be included in the form : • A textbox to enter student's name. • A checkbox to allow the student to subscribe to a newsletter. • Radio buttons to select the gender. The buttons should be grouped with individual values as Male, Female, Other. • A list box (select dropdown) to choose the country. The available options are USA, Canada, UK and Australia.
Illustrate the use of the radio button input type on an HTML form with an appropriate code and the corresponding output.
Explain the difference between <input type = "text"> and <input type = "password"> for HTML forms. Give examples to support your answer.
© 2026 PadhAiPro. This question is provided for educational purposes.