Categories




PreviousNext
Fieldset Tag    
 Send mail Views:271
Belongs to : HTML
Facebook Bookmarkbookmark this page Digg Bookmark Delicious BookmarkStumbleupon Bookmarkshare with orkut Post to Google Buzz

The <fieldset> tag is used to logically group together elements in a form.
It draws a box around the related form elements.


Example:

<fieldset>
<legend>User Profile:</legend>
Name: <input type="text" size="30" /><br />
Email: <input type="text" size="30" /><br />
Date of birth: <input type="text" size="10" />
</fieldset>

The <legend> tag is used to give a lable/caption to the fieldset.
It works fine in both IE and firefox.

the above code will display form as,

User Profile:
Name:

Email:

Date of birth:



Pictures and Videos
Online Calculators
embed code


By - Vijay, On - 2010-01-30
Send This
PreviousNext

User Comments


Add NEW Feedback:

Name :     Email :

 Server Monitoring Web hosting by Hiox India Privacy Policy Terms and Conditions