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">
&emsp;
<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.
&emsp; 
<input type="Submit" value="Submit Query">
</html>

Output :

Enter Name of Your friend:-

Choose the file you want to post to your friend

What does the file contain ?

Image Source code Binary Code

You have completed the form.

By Admin

Leave a Reply

Your email address will not be published. Required fields are marked *