tags:

views:

180

answers:

2

Does anyone have good examples of how to use a fieldset tag in HTML?

+3  A: 

Do you mean <fieldset> ?

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

Or possibly <frameset> ?

<html>
  <frameset cols="25%,*,25%">
    <frame src="frame_a.htm" />
    <frame src="frame_b.htm" />
    <frame src="frame_c.htm" />
  </frameset>
</html>
Jonathan Sampson
He most likely meant `fieldset`.
Reinis I.
That would seem more timely. I haven't seen `frameset` in years.
Jonathan Sampson
Thank you Jonathan!
Daniel
+1  A: 

SitePoint has a picture showing proper use of the fieldset tag. There's also more details there.

Reinis I.
Yes this is what I was looking for!
Daniel