How to Make a HTML Textbox With a Submit Button
- 1). Log in to your Web server and open the HTML page in which you want to insert the text box and "Submit" button.
- 2). Insert the following HTML code in between the <Body> and </Body> tags:
<html>
<head>
<title>Title</title>
</head>
<body>
<form name="myform" action="http://www.mysite.com/formcollection.cgi" method="POST">
<div align="center">
<input type="text" size="25" value="Text here">
<input type="submit" value="Sumbit">
</div>
</form>
</body>
</html> - 3). Replace "Title" with the name you want to appear on the form page.
- 4). Replace "http://www.mysite.com/formcollection.cgi" with the URL to which submitted forms will be sent.
- 5). Replace "Text here" with the text you want to appear inside the text box. If you do not want text already inside the box, simply delete "Text here."
- 6). Publish the page.
Source...