HTML Form Example

 

First name:

Last name:

Note: The form itself is not visible. Also note that the default width of a text field is 20 characters.

 

Code to create this is

 

<html>
<body>

<form action="">
First name: <input type="text" name="firstname" /><br />
Last name: <input type="text" name="lastname" />
</form>

<p><b>Note:</b> The form itself is not visible. Also note that the default width of a text field is 20 characters.</p>

</body>
</html>