Gazing into my crystal ball I observed shapper <>
writing in news:08ec2d96-43df-45cf-888a-a9701a23a436
@e6g2000prf.googlegroups.com:
> Hello,
>
> I have a page with the following content and using the following tags:
>
> Title <h1>
> Description <span>
> Text <p>
> Form Header <h2>
> Form <ul> (the form inputs and buttons are
> inside the <li> tags)
> Text <p>
>
> My question is:
> Is there any reason to put my FormHeader and Form wrapped around
> inside a div?
>
> Thanks,
> Miguel
>
Why are you using this kind of markup? Use the correct element for the
job:
<h1>Page Title</h1>
<p>Use the form to send information.</p>
<form method="post" action="somescript">
<fieldset><legend>Form Title</legend>
<label for="field1">Field1 </label> <input type="text" name="field1"
id="field1" value="initial value"><br>
<label for="field2">Field2 </label> <input type="text" name="field2"
id="field2" value="initial value"><br>
<input type="submit" value="Submit">
</fieldset>
</form>
Using this kind of markup, you can style the elements any way you wish.
--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share