1.
method=""
This describes the type of form been worked
on
·
If the form is to request or get data from a
user then the method will be "GET"
·
If the form is to be submitted by a user to a
for a request the it will carry "POST"
When building a form the format is –
<form
action=""; method="" enctype="">
</form>
2.
To input text you use this command
<input type="text"
name="surname">
3.
To input password you use this command
<input type="password"
name="password">
4.
placeholder=" " -This is used to show the type of data to be
imputed by the user. It shows the box where the value to be accepted.
5.
To submit all the data that are entered you use
this command
<button type="submit"> Send
Data </button>
6.
To refresh the page the following command is used
<button type="delete">
Refresh </button>
7.
To Delete all data on a page use
<button type="reset"> Cancel
All </button>
The "part 2" of this post will give an example of a webpage which will allow you to understand HTML FORMS Better.
1 Comments
This comment has been removed by the author.
ReplyDelete