HTML fieldset Tag – HTML CODE


HTML <fieldset> Tag

 

 
 
  1. <form action="/action_page.php">
  2. <fieldset>
  3. <legend>Personalia:</legend>
  4. <label for="fname">First name:</label>
  5. <input type="text" id="fname" name="fname"><br><br>
  6. <label for="lname">Last name:</label>
  7. <input type="text" id="lname" name="lname"><br><br>
  8. <label for="email">Email:</label>
  9. <input type="email" id="email" name="email"><br><br>
  10. <label for="birthday">Birthday:</label>
  11. <input type="date" id="birthday" name="birthday"><br><br>
  12. <input type="submit" value="Submit">
  13. </fieldset>
  14. </form>

 


Source: w3schools.com


Find More related HTML fieldset Tag – HTML CODE


Have any Question or Comment?

Leave a Reply

Your email address will not be published. Required fields are marked *

"