Coding task · HTML and CSS course · Module 2: The Web and HTML Elements

HTML Registration Form

HTML forms collect data from users. The <form> tag wraps the entire form, <input> creates fields, <label> adds labels, <select> creates dropdown lists, and <textarea> allows for longer text.

Task

Create a registration form with fields: name (text), email (email), password (password), age (number), gender (select), and a submit button (button type="submit"). Each field should have a <label>.