![]() |
|
|
|
#1 |
|
I asked previously for comments on this code, but some confusion and
possibly a lost post led to my receiving nothing but a couple of accusations of trolling. I apologize for the confusion. The link: http://68.184.224.2:8080/reference/form8001.jsp It's just bare bones at the moment. I've shown different colored borders so I can see where my boxes are. I'm not looking for criticism on the layout of the page. That is already set. The page looks the way it needs to (minus some CSS decoration, of course). I'm looking for comments on the markup I used to generate this structure. Is it correct? How could it be better? The page validates HTML 4.01 Strict at the W3 site. Ryan Stewart |
|
|
|
|
#2 |
|
Posts: n/a
|
Ryan Stewart wrote:
> http://68.184.224.2:8080/reference/form8001.jsp Could probably do with some use of <label>. -- Toby A Inkster BSc (Hons) ARCS Contact Me - http://www.goddamn.co.uk/tobyink/?page=132 Toby A Inkster |
|
|
|
#3 |
|
Posts: n/a
|
"Toby A Inkster" <> wrote in message
news > Ryan Stewart wrote: > > > http://68.184.224.2:8080/reference/form8001.jsp > > Could probably do with some use of <label>. > Interesting. I didn't even know that tag existed. I've read over its description at W3 now. Is it widely used? Is it worth the extra bandwidth? What are the benefits of using it? That page is only a sample of the actual form which will be dynamically generated and could easily have hundreds of input elements. Adding label tags to each of those could add several kilobytes to the file size. Ryan Stewart |
|
|
|
#4 |
|
Posts: n/a
|
Ryan Stewart wrote:
> Interesting. I didn't even know that tag existed. I've read over its > description at W3 now. Is it widely used? On webpages? No. By browsers? Yes. > Is it worth the extra bandwidth? Yes. > What are the benefits of using it? Bigger click targets (especially for radio buttons and check boxes) Assistive software gets explit information about what text describes a field, rather then having to guess. > That page is only a sample of the > actual form which will be dynamically generated and could easily have > hundreds of input elements. Adding label tags to each of those could add > several kilobytes to the file size. mod_gzip is quite fun seriously consider using a multipage form. -- David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/> David Dorward |
|
|
|
#5 |
|
Posts: n/a
|
Ryan Stewart wrote:
> Interesting. I didn't even know that tag existed. I've read over its > description at W3 now. Is it widely used? Is it worth the extra bandwidth? > What are the benefits of using it? It is pretty good. The practical benefit for most people is that clicking in the label text is treated like clicking on the label control. (This is particularly useful for checkboxes and radio buttons.) Example: http://www.nctpregnancyandbabycare.c...questionnaire/ -- Toby A Inkster BSc (Hons) ARCS Contact Me - http://www.goddamn.co.uk/tobyink/?page=132 Toby A Inkster |
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How To Access HTML elements in code behind??? | nedums_b | Software | 1 | 02-07-2008 07:15 PM |
| Code Monkey want MCTS, Code Monkey take exam | Zimri | MCTS | 0 | 04-03-2007 10:57 PM |
| Circumvent Region Code | hufaunder@yahoo.com | DVD Video | 11 | 01-29-2007 09:51 PM |
| Probelm For Runing This Code | farhad13841384 | Software | 0 | 08-03-2006 07:32 AM |
| .avi files giving region code error | Craig Cameron | DVD Video | 2 | 03-07-2006 02:49 PM |