<form> tag in HTML 5

In this articles i am going to explain about form tag in HTML 5.
  • 1712

Definition

Html Form tag is provides form to user. It supports different controls. These controls is input controls, which is used for input user data. Form is like a container that contains text, button, checkbox, radio button etc.

Support browser in <Form> tag.

Chrome, Firefox, Opera, Internet Explorer 9 and Safari.

Lets take an example of <Form> tag

<html>
<body>
    <form action="demo_form.asp">
    First name:
    <input type="text" name="fname" value="jitendra" /><br />
    Last name:<input type="text" name="lname" value="gupta" /><br />
    <input type="submit" value="Submit" />
    </form>
    <p>
        Click the "Submit" button and this page will go to the server.</p>
</body>
</html>


Output


Clipboard05.jpg

Further Readings

You may also read more about HTML5 here

Ask Your Question 

Got a programming related question? You may want to post your question here

Programming Answers here

© 2020 DotNetHeaven. All rights reserved.