<field set> tag in HTML 5

In this articles i am going to explain about field set tag in HTML 5.
  • 1882

Definition

The HTML <Fieldset> tag is used for grouping related form elements. By using the fieldset  tag and the <legend> tag, you can make your forms much easier to understand for your users.

Support browser in <Fieldset> tag.

Chrome,  Firefox,  Opera,  Internet Explorer 9  and  Safari.

Lets take an example of <Fieldset> tag

<html>
<body>
    <form>
    <fieldset>
        <legend>Personalia:</legend>Name:
        <input type="text" /><br />
        Email:
        <input type="text" /><br />
        Mob no:
        <input type="text" />
    </fieldset>
    </form>
</body>
</html>

 

Output


Clipboard08.jpg

Further Readings

You may also want to read these related articles

Ask Your Question 

Got a programming related question? You may want to post your question here

Programming Answers here

© 2020 DotNetHeaven. All rights reserved.