html - Nested ordered lists of different types -


i trying nest several ordered list html tags, , have each of them separate types. however, of list elements staying type 1, , cannot tell why.

this code:

<ol type="1">     <li>sales associate 2003- present</li>     <ol type="2">         <li>target west, wichita, ks</li>             <ol type="3">                 <li>help customers purchases</li>                 <li>handle customer questions , complaints, working ensure complete customer satisfaction</li>                 <li>run cash register</li>                 <li>monitor security system</li>             </ol>     </ol>      <li>grounds keeper 1998-2003</li>     <ol type="2">         <li>riverside golf course, wichita, ks</li>             <ol type="3">                 <li>helped general outdoor maintenance of apartment complex</li>                 <li>worked member of team</li>                 <li>scheduled maintenance repairs tenants needed</li>             </ol>     </ol>  </ol> 

you cannot have ol direct child of ol, must nested within li.

<ol type="1">     <li>sales associate 2003- present        <ol type="2">            <li>target west, wichita, ks                <ol type="3">                    <li>help customers purchases</li>                    <li>handle customer questions , complaints, working ensure complete customer satisfaction</li>                    <li>run cash register</li>                    <li>monitor security system</li>                </ol>            </li>        </ol>    </li> .... </ol> 

furthermore type 2 , 3 not valid attribute values.

valid properties are:

  • 1 represents decimal numbers (eg. 1. 2. 3. ... etc)
  • a represents lower case latin alphabet (eg. a. b. c. ... etc)
  • a represents upper case latin alphabet (eg. a. b. c. ... etc)
  • i represents lower case roman numerals (eg. i. ii. iii. ... etc)
  • i represents upper case roman numerals (eg. i. ii. iii. ... etc)

Comments

Popular posts from this blog

angular - Is it possible to get native element for formControl? -

unity3d - Rotate an object to face an opposite direction -

javascript - Why jQuery Select box change event is now working? -