<input type="submit"> defines a submit button.
A submit button is used to send form data to a server. The data is sent to the page specified in the form's action attribute. The file defined in the action attribute usually does something with the received input:
<form name="input" action="html_form_action.asp" method="get">
Username: <input type="text" name="user">
<input type="submit" value="Submit">
</form>
Username: <input type="text" name="user">
<input type="submit" value="Submit">
</form>
How the HTML code above looks in a browser:
If you type some characters in the text field above, and click the "Submit" button,
the browser will send your input to a page called "html_form_action.asp".
The page will show you the received input.
the browser will send your input to a page called "html_form_action.asp".
The page will show you the received input.
No comments:
Post a Comment
Wildern Pupils if you log onto your school email account you can leave a comment via that ID.