Skip to content

Allow type attribute on <ul> #3979

@fantasai

Description

@fantasai

<ol> represents an “ordered list”., whereas <ul> represents an unordered list. But frequently, one wants an unordered list with labels (1, 2, 3, or A, B, C). The options here are to either use a <ol> anyway (which falsely marks the list as ordered), or to use <ul> with CSS (which means the referencing system is CSS-dependent).

It would be great if HTML would allow the type attribute on <ul> to solve this problem.

Note: Firefox already implements the requisite functionality, and Chrome already handles it for <li> inside <ul> (just not for <ul> itself). Testcase

Metadata

Metadata

Assignees

No one assigned

    Labels

    addition/proposalNew features or enhancementsdocument conformanceimpacts documentationUsed by documentation communities, such as MDN, to track changes that impact documentationinteropImplementations are not interoperable with each otherneeds implementer interestMoving the issue forward requires implementers to express interesttopic: rendering

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions