The Text Field in HTML are one line areas, which enable the user to enter input text.
Understand with Example
The Tutorial illustrates an example from Text Field in HTML.In this Tutorial, the code create a text field in HTML page.
<form action> is used to specify the page to be displayed on click the submit button.
The <input type> specify the type of component is a text field.
The code is saved with .html extension. Now paste the path of a html code into a url of browser.
| <form action=""> <input type="textfield" value="Your Name"> <input type="submit" value="submit"> |
On execution of the code, the output is displayed as
![]() |
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.
Ask Questions? Discuss: Text Field in HTML View All Comments
Post your Comment