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:
1represents decimal numbers (eg. 1. 2. 3. ... etc)arepresents lower case latin alphabet (eg. a. b. c. ... etc)arepresents upper case latin alphabet (eg. a. b. c. ... etc)irepresents lower case roman numerals (eg. i. ii. iii. ... etc)irepresents upper case roman numerals (eg. i. ii. iii. ... etc)
Comments
Post a Comment