ad

HTML FORMS

HTML FORMS (PART 1)

Here is a list of some major things to be put in place when developing an HTML FORM. 

7 Items are listed below which you might probably consider

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.  

  Thanks for sparing little time out of your schedule to read this post. 

  Do well to comment on this post for any suggestions and any question.

  Bye for Now!!!

 

Post a Comment

1 Comments