HTML code for generating the form as shown below…
Lab Course 2 / Exercise 3 / Set A /
<html>
<form name="friends">
Enter Name of Your friend:-
<input type="text" name="nam">
<br>
<br>
Choose the file you want to post to your friend
<br>
<input type="text">
 
<input type="file">
<br>
What does the file contain ?
<br>
<br>
<input type="checkbox" value="Image">Image
<input type="checkbox" value="Source code">Source code
<input type="checkbox" value="Binary Code">Binary Code
<br>
<br>
You have completed the form.
 
<input type="Submit" value="Submit Query">
</html>
Output :