Professional Documents
Culture Documents
Css Practical 9
Css Practical 9
Css Practical 9
Experiment No: 9
Title of Experiment Develop a webpage using intrinsic java function.
Theory: -
. Java Script has a special set of function called intrinsic function that mimic actions of the
submit button and reset button of a form.
. An intrinsic function is often used to replay the submit button and the reset button with
your own graphical images, which are displayed on a form in place of these buttons.
. In following example, we have used two <img> tags to simulate the functionality of submit
and reset.
. First <img> element displays submit.jpg and other displays reset.jpg. Each of these traps
the onclick events and call the appropriate intrinsic function. This has the same effect as
interesting the submit and reset button on the form and then clicking them.
Program: -
<html>
<body>
<p>
<br>
<br>
<br>
Page | 1
<br>
</p>
</form>
</body>
</html>
Output:-
Page | 2