0% found this document useful (0 votes)
77 views1 page

HTML Form with Intrinsic Functions

This document contains HTML code for a web form that collects a user's name and age. The form includes two image buttons, one to submit the form and save the input data, and the other to reset the form and clear the input fields. Clicking on the first image will call the form's submit intrinsic function, while clicking the second image will call the form's reset intrinsic function.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
77 views1 page

HTML Form with Intrinsic Functions

This document contains HTML code for a web form that collects a user's name and age. The form includes two image buttons, one to submit the form and save the input data, and the other to reset the form and clear the input fields. Clicking on the first image will call the form's submit intrinsic function, while clicking the second image will call the form's reset intrinsic function.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Practical No.

9
Program:-
<html>

<head>

<title> Intrinsic Function </title>

</head>

<form name="frm1" action="" method="post">

Name<input type="text" name="t1"/><BR>

<BR>

Age<input type="text" name="t2"/><BR>

<BR>

<a>

<img src="image1.png" height="40" width="80"


onclick="javascript:document.forms.frm1.submit()"/>

<img src="image2.png" height="40" width="80" onclick="javascript:document.forms.frm1.reset()"/>

</a>

</form>

</html>

You might also like