[html5] HTMl5 - ol type attribute

Benjamin Hawkes-Lewis bhawkeslewis at googlemail.com
Wed Nov 3 13:59:56 PDT 2010


On 3 Nov 2010, at 20:51, Tom Leadbetter wrote:
> I was wondering if there was any documented reasoning for re-enabling these attributes from HTML 4. In particular the type attribute, which immediately strikes me as presentational, although I suppose I can see why I would want to set this in the HTML.

If items in a list are to be cited by reference (e.g. "5 b") within or without the text, then the form of that reference is part of the reference not merely styling information. As the spec says:

"The type attribute can be used to specify the kind of marker to use in the list, in the cases where that matters (e.g. because items are to be referened by their number/letter)"

--
Benjamin Hawkes-Lewis


More information about the Help mailing list