Write a program to include the custom button with the form?

Asked: Apr 15, 2023

Custom button can be given just by putting the image with the button or by using any other button then normal. Usually the button is being made by the <input> tag like:

<input type= “submit” value= submit>

An image can be used for the custom button as an input type like:

<input type = ”image” value = submit>

The input in the image format defines the graphical button that has to be placed in the form of submit on the web site. Image input type return the x-y coordinates rather than the normal text as a value. The attributes of Value and Alt will be used to set the name value attribute. The example for the same will be given as:

<input type="image" name="submit" alt="submit" value="submit" src="submit.jpg">

 

Asked by brijesh

Answers (0)

No answers yet. Be the first to answer!