Difference between revisions of "Fieldset, Label, and Legend Elements"

From Level Access Web Labs
Jump to navigation Jump to search
Line 20: Line 20:
 
   <fieldset style="width:40%;">
 
   <fieldset style="width:40%;">
 
     <legend>Shipping Address:</legend>
 
     <legend>Shipping Address:</legend>
     <div style="background-color:purple;">
+
     <div>
 
       <label for="t1">Name:</label> <input id="t1" type="text" >
 
       <label for="t1">Name:</label> <input id="t1" type="text" >
 
     </div>
 
     </div>
     <div style="background-color:green">
+
     <div>
 
       <label for="t3">Address:</label> <input id="t3" type="text">
 
       <label for="t3">Address:</label> <input id="t3" type="text">
 
     </div>
 
     </div>
     <div style="background-color:red;">
+
     <div>
 
       <label for="t2">Email:</label><input id="t2" type="text">
 
       <label for="t2">Email:</label><input id="t2" type="text">
 
     </div>
 
     </div>

Revision as of 14:53, 27 March 2014

Shipping Address: