Friday, 9 August 2013

HTML fieldset Tag

Introduction:

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.

Example:
<html>
<head>
<title>HTML fieldset Tag</title>
</head>
<body>
<fieldset style="text-align:right;">
<legend><b>Address Details</b></legend>
Favorite Address <input type="text" style="width:120px;" /><br />
Least Favorite Address <input type="text" style="width:120px;" /><br />
Current Address <input type="text" style="width:120px;" /><br />
Your Next Address <input type="text" style="width:120px;" /><br />
</fieldset>

</body>
</html>

No comments:

Post a Comment