Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

HTML question - Ordered list with parentheses; eg, (a), (b)...?

Can anyone tell me how I can have an ordered list with <ol> and <li> tags that will have the list as follows:

(a)

(b)

(c)

(i)

(ii)

(iii)

(A)

(B)

(C)

We are working with a CSS and within a govt environment, so need to meet accessibility standards; ie, can't be code that will only work on a limited number of OS or browsers.

Thanks in advance.

Update:

Thanks. However, I would like to know how to add the parentheses around the list item; eg

(a) so like this instead of

a. this

or (i) this instead of

i. this.

Thanks

2 Answers

Relevance
  • 1 decade ago
    Favorite Answer

    http://www.htmlgoodies.com/beyond/css/article.php/...

    <LI STYLE="list-style-type: decimal"> List Item

    <LI STYLE="list-style-type: lower-alpha"> List Item

    <LI STYLE="list-style-type: upper-alpha"> List Item

    <LI STYLE="list-style-type: lower-roman"> List Item

    <LI STYLE="list-style-type: upper-roman"> List Item

  • Anonymous
    4 years ago

    Html Ordered List Letters

Still have questions? Get your answers by asking now.