Welcome Guest, Not a member yet? Register   Sign In
Looking for ways to display forms within HTML elements
#14

[eluser]Colin Williams[/eluser]
What you've done is, with the support of a flawed semantic argument, replaced superfluous DIV markup with superfluous DL, DT, DD, OL, UL, LI markup. Forms aren't "just definition lists for which the user must provide the definitions," unless of course the form is part of a dictionary creator.

When you ask a user for their username, you aren't asking them to define the term 'username.' You are asking them to provide or supply their username. Clear difference. This is why there is a LABEL element for form controls, not a TERM element.

Also, just because a form may be laid out and meant to be completed in a sequential matter does not necessarily make it an ordered list. I think the same thing holds true for unordered lists. Think about a list of paragraphs. You wouldn't mark that up as <ul><li><p/></li><li><p/></li></ul>, would you?

I don't think any of these methods are necessarily wrong or bad. The more hooks CSS has, the better. I just don't think there's a strong semantic argument for any of them.

The vagueness of the humble DIV element lets one create their own suitable semantic structure. Using meaningfully classed DIVs, in my opinion, is much better than stretching the definitions of other inadequate markup elements.


Messages In This Thread
Looking for ways to display forms within HTML elements - by El Forum - 08-09-2008, 11:53 AM
Looking for ways to display forms within HTML elements - by El Forum - 08-09-2008, 02:48 PM
Looking for ways to display forms within HTML elements - by El Forum - 08-09-2008, 02:56 PM
Looking for ways to display forms within HTML elements - by El Forum - 08-09-2008, 03:01 PM
Looking for ways to display forms within HTML elements - by El Forum - 08-21-2008, 11:58 AM
Looking for ways to display forms within HTML elements - by El Forum - 08-21-2008, 02:06 PM
Looking for ways to display forms within HTML elements - by El Forum - 08-21-2008, 03:13 PM
Looking for ways to display forms within HTML elements - by El Forum - 08-21-2008, 03:26 PM
Looking for ways to display forms within HTML elements - by El Forum - 09-11-2008, 02:50 AM
Looking for ways to display forms within HTML elements - by El Forum - 09-11-2008, 03:32 AM
Looking for ways to display forms within HTML elements - by El Forum - 09-11-2008, 08:18 AM
Looking for ways to display forms within HTML elements - by El Forum - 09-11-2008, 09:35 AM
Looking for ways to display forms within HTML elements - by El Forum - 09-18-2008, 12:50 AM
Looking for ways to display forms within HTML elements - by El Forum - 09-18-2008, 02:23 AM
Looking for ways to display forms within HTML elements - by El Forum - 09-18-2008, 02:30 AM
Looking for ways to display forms within HTML elements - by El Forum - 09-18-2008, 08:24 AM
Looking for ways to display forms within HTML elements - by El Forum - 09-19-2008, 02:04 PM
Looking for ways to display forms within HTML elements - by El Forum - 09-19-2008, 02:42 PM
Looking for ways to display forms within HTML elements - by El Forum - 09-20-2008, 11:57 AM
Looking for ways to display forms within HTML elements - by El Forum - 09-21-2008, 03:31 AM
Looking for ways to display forms within HTML elements - by El Forum - 09-21-2008, 12:20 PM
Looking for ways to display forms within HTML elements - by El Forum - 09-21-2008, 12:25 PM
Looking for ways to display forms within HTML elements - by El Forum - 09-21-2008, 12:39 PM
Looking for ways to display forms within HTML elements - by El Forum - 09-21-2008, 12:49 PM
Looking for ways to display forms within HTML elements - by El Forum - 09-21-2008, 12:55 PM
Looking for ways to display forms within HTML elements - by El Forum - 09-21-2008, 06:19 PM
Looking for ways to display forms within HTML elements - by El Forum - 09-21-2008, 07:01 PM
Looking for ways to display forms within HTML elements - by El Forum - 09-21-2008, 10:21 PM
Looking for ways to display forms within HTML elements - by El Forum - 09-22-2008, 09:08 AM
Looking for ways to display forms within HTML elements - by El Forum - 09-22-2008, 09:37 AM
Looking for ways to display forms within HTML elements - by El Forum - 09-22-2008, 10:01 AM
Looking for ways to display forms within HTML elements - by El Forum - 09-22-2008, 10:18 AM
Looking for ways to display forms within HTML elements - by El Forum - 09-22-2008, 10:31 AM
Looking for ways to display forms within HTML elements - by El Forum - 09-22-2008, 10:58 AM
Looking for ways to display forms within HTML elements - by El Forum - 09-22-2008, 11:18 AM
Looking for ways to display forms within HTML elements - by El Forum - 09-22-2008, 11:26 AM
Looking for ways to display forms within HTML elements - by El Forum - 09-22-2008, 11:34 AM
Looking for ways to display forms within HTML elements - by El Forum - 09-22-2008, 11:38 AM
Looking for ways to display forms within HTML elements - by El Forum - 09-22-2008, 11:49 AM
Looking for ways to display forms within HTML elements - by El Forum - 09-22-2008, 11:53 AM
Looking for ways to display forms within HTML elements - by El Forum - 09-22-2008, 11:58 AM
Looking for ways to display forms within HTML elements - by El Forum - 09-22-2008, 12:05 PM



Theme © iAndrew 2016 - Forum software by © MyBB