Hi all,
Is this bad because the name and id are different?
Thanks!Code:<input type="checkbox" name="someGroup" id="check1" value="Option 1" /> <label for="check1">Option 1</label> <input type="checkbox" name="someGroup" id="check2" value="Option 2" /> <label for="check2">Option 2</label>



Reply With Quote

Contrary to what seems to be popular belief, Strict is actually a lot simpler to deal with than Transitional: as the Python folks would say, 'there's only one way to do it'. Transitional includes a lot of deprecated alternatives, and requires considerable expertise in the technologies to choose the correct course of action, since using a deprecated element is poor practice and may have adverse effects on your page; in Strict, all the deprecated elements and nesting practices have been removed, so the validator can easily inform you if you use one.

Bookmarks