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

From Level Access Web Labs
Jump to navigation Jump to search
Line 13: Line 13:
 
   <fieldset style="width:40%;">
 
   <fieldset style="width:40%;">
 
     <legend>Shipping Address:</legend>
 
     <legend>Shipping Address:</legend>
     <div><label for="t1">Name:</label> <input id="t1" type="text" ></div>
+
     <div>
     <div><label for="t3">Address:</label> <input id="t3" type="text"></div>
+
      <label for="t1">Name:</label> <input id="t1" type="text" >
     <div><label for="t2">Email:</label><input id="t2" type="text"></div> </fieldset>
+
    </div>
 +
     <div>
 +
      <label for="t3">Address:</label> <input id="t3" type="text">
 +
    </div>
 +
     <div>
 +
      <label for="t2">Email:</label><input id="t2" type="text">
 +
    </div>
 +
</fieldset>
 
</form>
 
</form>
 
</html>
 
</html>
 
[[Category:Elements]]
 
[[Category:Elements]]

Revision as of 14:48, 27 March 2014

Shipping Address: