用编号组合的数字,阿尔泰字母和罗马数字嵌套订单列表? [英] Nested Orderd List with combination of numbers, alphatets and roman numerals for numbering?
本文介绍了用编号组合的数字,阿尔泰字母和罗马数字嵌套订单列表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想创建一个如下所示的有序列表:
I want to create an ordered list that looks like this:
1. Item_1
2. Item_2:
a. Subitem_1
b. Subitem_2:
I. Sub-Subitem_1
II. Sub-Subitem_2
c. Subtiem_3
3. Item 3
即子列表应使用字母/罗马数字或其他此类符号进行编号。
i.e. sub-lists should use alphabets/Roman Numbers or other such notations for numbering.
我尝试嵌套< ol>
标签,但明确指出了子列表。
是否有一种方法可以使用仅HTML ?
I tried nesting <ol>
tags but that plainly numbered the sub-lists.
Is there a way of doing this using only HTML?
推荐答案
<ol type="1|a|A|i|I">
1 Default. Decimal numbers (1, 2, 3, 4)
a Alphabetically ordered list, lowercase (a, b, c, d)
A Alphabetically ordered list, uppercase (A, B, C, D)
i Roman numbers, lowercase (i, ii, iii, iv)
I Roman numbers, uppercase (I, II, III, IV)
http://www.w3schools.com/tags /att_ol_type.asp
这篇关于用编号组合的数字,阿尔泰字母和罗马数字嵌套订单列表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文