LET'EM KNOW! BOOKMARK US! LINK TO US! HOME PRIVACY POLICY HELP

What Is A Fieldset Tag?

By Budda July 6, 2008 2:56 AM
Print This Page LinkPrint This Page Email To a Friend LinkEmail This Page Bookmark This Page

The <fieldset> tag groups related elements within a form. The <fieldset> tag when used the proper way makes HTML and XHTML documents more accessible to nonvisual browsers. When using the <fieldset> tag the browsers may display a box around the elements within the <fieldset> tag. The <fieldset> tag requires an end tag.

Now I will show you how to code in the <fieldset> tag.



<html>
<head>
<title>Welcome To HTML & XHTML</title>
</head>
<body>

<form method="post" action="http://www.yourdomain.com/cgi/gdform.cgi">
<fieldset>
First Name:
<input type="text" name="first_name" />
Middle Name:
<input type="text" name="middle_name" />
<br />
Last Name:
<input type="text" name="last_name" />
</fieldset>
</form>

</body>
</html>

Here is how the <fieldset> tag looks like when displayed in a browser.

First Name: Middle Name:
Last Name:

FIND A JOB

what
job title, keywords
where
city, state, zip
jobs by job search