Assignment 6: Forms
This following code demonstrates how to create an input element of
type="text". Please notice the use of the
<p>...</p> element to display information text in front of the text box.
<p> Net ID: <input type="text" name="name" id="test-text" /> </p>
NOTE: Technically, you can omit the “type” from the input element if you want a text box. But good style dictates that you should be explicit in your code so as to prevent errors. So don’t.