3.18 Miscellaneous elements

http://dev.w3.org/html5/spec/Overview.html#miscellaneous


3.18.1 The legend element

Reads ok. Legend sees extended use in the new details and figure
elements. Interesting that it does not have to be the first child
within figure (it must be a child). Will suggest some minor word
changes from "... for the rest of the contents of the legend element's
parent element." to "... that applies to the parent fieldset, details
or figure element."

I have to ask... is using legend practical? Today, legend is one of
the most *difficult* elements to style using css. Is there some
commitment to improving that within fieldset (and details, figure).


3.18.2 The div element

Read this and the associated note... think they can be combined into a
single description that is clear and promotes the use of div where no
more meaningful element exists (I'm sure I've already read something
similar in the spec). Maybe something like this (feel free to edit):
The div element is a generic container element. It can be used with
the id, class, lang/xml:lang, and title attributes to mark up
semantics common to a group of consecutive elements.
Authors should use the element that best matches the purpose of the
content, and reserve div to extend HTML where appropriate elements do
not exist. (WCAG reference here would not go astray)

n.b. I included 'id' in the list of attributes mentioned. It's inclusion is key.

Similar  wording is/should be used for span:
http://dev.w3.org/html5/spec/Overview.html#span

Received on Saturday, 22 March 2008 02:43:46 UTC