> HTML forms ~ Online tutorial

HTML forms

HTML forms
Form is a typical layout on the webpage by which a user can interact with the web page.
<form> tag is used to has an attribute action which gets executed when user clicks the button on the form.
syntax
Example
<html>
<head>
<title>
HTML forms
</title>
</head>
<body>
<form name='form1' action='get' method='get.html'>
Name<input type='text' name='name'>
</form>
</body>
</html>



Some of parameters:
  • name: it is used to show the name of forms
  • action:
    get: it is used to send to data to client browser.it is shows the value in addressbar.
    post: it is used to send to data to specified HTML page.it is don't shows the value.

  • method:   it is which page we can redirect it.

Output




Please Give Us Your 1 Minute In Sharing This Post!
Please Give Us Your 1 Minute In Sharing This Post!
SOCIALIZE IT →
FOLLOW US →
SHARE IT →
Powered By: BloggerYard.Com

0 comments: