'legend' Example
|
|
<html> <head> <title>legend element example</title> </head> <body> <form name="form1" method="post" action=""> <p> <fieldset align="center"> <legend>Credit Card Information:</legend> <input type="text" name="textfield" value="Name" size="60"> <br> <input type="text" name="textfield2" value="Exp. date" size="50"> <br> <input type="text" name="textfield3" value="Type" size="65"> <br> <input type="text" name="textfield4" value="Number" size="45"> </fieldset> </p> </form> </body> </html>
|
|
|
|
|
HTML code for linking to this page:
|