Forms are one of the most important parts of web development. Whenever you
log in, sign up, or submit details on a website, you are using an HTML
form.
Let's break it down in simple terms.
<label>Name :</label>
<input type="text">
for in <label> and
id in <input> to connect them.
<label for="email">Email :</label>
<input type="email" id="email">
<label for="male">Male</label>
<input type="radio" id="male" name="gender" value="male">
<label for="female">Female</label>
<input type="radio" id="female" name="gender" value="female">
<label for="other">Other</label>
<input type="radio" id="other" name="gender" value="other">