Home >> HTML 5 >> fieldset Tag in HTML 5

fieldset Tag in HTML 5

The <fieldset> tag is used to group related elements in a form, and creates a box around the related elements.



For example:-

<!DOCTYPE html>
   <title>Fieldset Tag</title>
    <form name"fieldset" action="" method="post">
         <legend>Personal Detail:</legend>
         <label for="name">Name:</label>
         <input type="text" id="name" name="name">
         <label for="email">Email:</label>
         <input type="email" id="email" name="email">
         <label for="mobile">Mobile No.:</label>
         <input type="text" id="mobile" name="mobile">
         <input type="submit" value="Submit">

Post Your Comment

Next Questions
figcaption Tag
figure Tag
font Tag
footer Tag
form Tag
frame Tag
frameset Tag
Heading Tag
head Tag
header Tag
hr Tag
html Tag
i Tag
iframe Tag
img Tag
input Tag
ins Tag
kbd Tag
label Tag
legend Tag
li Tag
link Tag
ul Tag
video Tag
wbr Tag

Copyright ©2022 coderraj.com. All Rights Reserved.