Added Nested HTML Lists with example (#22537)

* Added Nested HTML Lists with example

* added `html` markdown for code block, added output example
This commit is contained in:
adeelnazir13236
2018-11-25 23:43:24 +05:00
committed by Christopher McCormack
parent bb34761dfd
commit 42ee9f849a

View File

@ -117,6 +117,28 @@ which would end up looking like:
<dd>An awesome non-profit organization teaching people how to code.</dd>
</dl>
## Nested HTML Lists
List can be nested (lists inside lists):
```html
<ul>
<li>Coffee</li>
<li>Tea
<ul>
<li>Black tea</li>
<li>Green tea</li>
</ul>
</li>
<li>Milk</li>
</ul>
```
is displayed as:
- Coffee
- Tea
- Black tea
- Green tea
- Milk
## Nested HTML Lists