Fieldset and Legend Example : Form Legend « Form « HTML / CSS






Fieldset and Legend Example

<HTML>
<HEAD>
<TITLE>Fieldset and Legend Example</TITLE>
</HEAD>

<BODY>
<FORM ACTION="mailto:order@company.com" METHOD=POST>

<FIELDSET>
   <LEGEND>Customer Identification</LEGEND>
     <BR> 
   <LABEL>Customer Name:
   <INPUT TYPE="TEXT" ID="CustName" SIZE="25">
   </LABEL>
       <BR><BR>
  <LABEL>Customer ID:
  <INPUT TYPE="PASSWORD" ID="CustID" SIZE="8" MAXLENGTH="8">
   </LABEL>

        <BR>
</FIELDSET>

</FORM>
</BODY>
</HTML>





           
       








Related examples in the same category