- From: <ve3ll@cogeco.ca>
- Date: Sat, 16 Dec 2006 15:38:19 +0000
- To: www-amaya@w3.org
- CC: VE3LL@RAC.CA
Label nesting in html is opposite to that of XForms but Amaya doesn't trap the error when label is nested INSIDE a control which it should.... <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"> <head><title>Label Nesting:VE3LL2COGECO.CA</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/> </head><body><h1>Label Nesting:VE3LL2COGECO.CA</h1> <p>HTML4 states that for nesting, the control must be inside the label. This is backwards to XForms of course. Amaya allows nesting either way although it should trap the XForms way</p> <div> <label>HTML way:<input name="xx" type="text"/></label> </div> <div> <input name="yy" type="text"><label>XForms way:</label></input> </div> </body></html> -- -- John Russell, VE3LL@COGECO.CA http://home.cogeco.ca/~ve3ll http://home.cogeco.ca/~trains http://home.cogeco.ca/~cipher
Received on Monday, 18 December 2006 10:22:55 UTC