Tags Description
<input type="text">, <input type="password">,<textarea> text boxes: input elements - controls that allow the user to input data.

Examples:

Tag HTML Code Display
<input type="text">

<form action="form_action.asp" method="get">
    <p>
        First name: 
        <input type="text" name="fname" />
        <br />
      
        Last name: 
        <input type="text" name="lname" />
        <br />
    </p>
</form>                
                

First name:
Last name:

<input type="text" disabled="disabled">

<form action="form_action.asp" method="get">
    <p>
      First name: 
      <input type="text" name="fname" 
             disabled="disabled" />
      <br />
      
      Last name: 
      <input type="text" name="lname" 
             disabled="disabled" />
      <br />
    </p>
</form>
                

First name:
Last name:

<input type="password">

<form action="somepage.asp">
    <p>
        Password: 
        <input type="password" name="pwd" 
               size="20" />
    </p>
</form>
                

Password:

<input type="password" disabled="disabled">

<form action="somepage.asp">
    <p>
        Password: 
        <input type="password" name="pwd" 
               size="20" 
               disabled="disabled" />
    </p>
</form>                
                

Password:

<textarea>

<textarea rows="5" cols="30">
        The <textarea> tag defines a multi-line 
        text input control. A text area can hold 
        an unlimited number of characters, and 
        the text renders in a fixed-width font 
        (usually Courier).
</textarea>                
                
<textarea disabled="disabled">

<textarea rows="5" cols="30" disabled="disabled">   
        The <textarea> tag defines a multi-line 
        text input control. A text area can hold 
        an unlimited number of characters, and 
        the text renders in a fixed-width font 
        (usually Courier).
</textarea>