Use of legend and fieldset tag in html

Posted: June 8, 2012 by makaranddalal in HTML

Code with legend and fieldset tag


<!DOCTYPE html>
<html>
<body>

<form action=””>
<fieldset>
<legend>About Me:</legend>
Name: <input type=”text” size=”50″ /><br />
E-mail: <input type=”text” size=”50″ /><br />
Date of birth: <input type=”text” size=”15″ />
</fieldset>
</form>

</body>
</html>


Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s