Proper Coding for Yes/No Questions

I have several forms with simple "yes/no" questions on them.  I need to use
radio buttons for the selections.

Is the following code correct for accessibility?

----------

<label for="smart">Are you smart?</label>
<label for="smartYes">Yes</label><input type="radio" id="smartYes" />
<label for="smartNo">No</label><input type="radio" id="smartNo" />

----------

Randal Rust
Covansys, Inc.
Columbus, OH

Received on Tuesday, 5 March 2002 11:54:33 UTC