Write HTML code for the following Form with post method binary tree

HTML 5 / HTML Forms

1543

Program:

<form method="post">
    First name: <input type = "text" name = "first_name" > <br><br>
    Second name: <input type = "text" name = "second_name" ><br><br>
	Age: <input type = "text" name = "age" ><br><br>
	
	Gender:  <input type = "radio" name = "gender" id = "male" value = "male">Male  
  <input type = "radio" name = "gender" id = "Female" value = "Female">Female  <br><br>
  
<p>Province:</p>

<select name="selDays" multiple="multiple"> 
	<option value="Punjab" > Punjab </option >
	<option value="Balochistan" > Balochistan </option >
	<option value="KPK" > KPK </option >
	<option value="Sindh" > Sindh </option > 
</select >

</form>

Output:

Live Preview

Explanation:

None

This Particular section is dedicated to Programs only. If you want learn more about HTML 5. Then you can visit below links to get more depth on this subject.