S
shapper
Hello,
I am creating a poll using the following markup:
<p>Question</p>
<form>
<fieldset>
<ol>
<li><input id="option1" type="radio" name="Answer 1"
value="Answer 1" /></li>
<li><input id="option2" type="radio" name="Answer 2"
value="Answer 2" /></li>
</ol>
</fieldset>
<fieldset class="Action">
<input id="Vote" type="submit" value="Vote" name="Action.Vote"/>
</fieldset>
</form>
I think my markup is ok but should I place the Question inside a
legend in the fieldset?
<form>
<fieldset>
<legend>Question</legend>
<ol>
<li><input id="option1" type="radio" name="Answer 1"
value="Answer 1" /></li>
<li><input id="option2" type="radio" name="Answer 2"
value="Answer 2" /></li>
</ol>
</fieldset>
....
What do you think?
Thanks,
Miguel
I am creating a poll using the following markup:
<p>Question</p>
<form>
<fieldset>
<ol>
<li><input id="option1" type="radio" name="Answer 1"
value="Answer 1" /></li>
<li><input id="option2" type="radio" name="Answer 2"
value="Answer 2" /></li>
</ol>
</fieldset>
<fieldset class="Action">
<input id="Vote" type="submit" value="Vote" name="Action.Vote"/>
</fieldset>
</form>
I think my markup is ok but should I place the Question inside a
legend in the fieldset?
<form>
<fieldset>
<legend>Question</legend>
<ol>
<li><input id="option1" type="radio" name="Answer 1"
value="Answer 1" /></li>
<li><input id="option2" type="radio" name="Answer 2"
value="Answer 2" /></li>
</ol>
</fieldset>
....
What do you think?
Thanks,
Miguel