| <!DOCTYPE html> |
| <html> |
| <head> |
| <meta charset=utf-8> |
| <title>Ordered List: <ol> <li></title> |
| </head> |
| <body> |
| <!-- is block --> |
| <ol class="class" id="id" lang="en" start="05"> |
| <li class="class" id="id" lang="en" value="9">text</li> |
| </ol> |
| |
| <!-- is structured inline --> |
| <p>paragraph |
| <ol class="class" id="id" lang="en" start="-8"> |
| <li class="class" id="id" lang="en" value="-19">text</li> |
| </ol> |
| </p> |
| |
| <!-- can be empty --> |
| <ol></ol> |
| <ol> |
| <li></li> |
| <li></li> |
| </ol> |
| |
| <!-- cannot contain structured inline --> |
| <ol> |
| <li>some <em>text</em> |
| <pre>more text</pre> |
| </li> |
| </ol> |
| <p>paragraph |
| <ol> |
| <li>some <em>text</em> |
| <pre>more text</pre> |
| </li> |
| </ol> |
| </p> |
| |
| <!-- can contain blocks --> |
| <ol> |
| <li> |
| <p>some</p> |
| <p>text</p> |
| </li> |
| </ol> |
| |
| <!-- can contain interactive --> |
| <ol><li><a>text</a></li></ol> |
| <p>paragraph |
| <ol><li><a>text</a></li></ol> |
| </p> |
| </body> |
| </html> |