|
Legend
The following example shows using FieldSet and Legend Tags.
04 | < h2 >Field Set and Legend tags</ h2 > |
06 | < fieldset style = "text-align:right; width:40%" > |
07 | < legend >< b >Address Details</ b ></ legend > |
09 | Name : < input type = "text" />< br /> |
10 | Age : < input type = "text" />< br /> |
11 | Address : < input type = "text" />< br /> |
12 | Phone : < input type = "text" />< br /> |
13 | < input type = "button" value = "Submit" /> |
|
It gives the following output,
|
|