Add the text "### Nested HTML lists" to (#22946)

* Add the text "### Nested HTML lists" to

### Nested HTML Lists

List can be nested (lists inside lists):

##### Code:

<ul>
  <li>Coffee</li>
  <li>Tea
    <ul>
      <li>Black tea</li>
      <li>Green tea</li>
    </ul>
  </li>
  <li>Milk</li>
</ul>


##### Output:

<ul>
  <li>Coffee</li>
  <li>Tea
    <ul>
      <li>Black tea</li>
      <li>Green tea</li>
    </ul>
  </li>
  <li>Milk</li>
</ul>

* Fixed formatting and reordered sections
This commit is contained in:
Minna
2018-11-22 05:00:02 +01:00
committed by Manish Giri
parent 59b7d5b866
commit f365204cc8

View File

@ -118,8 +118,39 @@ which would end up looking like:
</dl>
## More Information:
## Nested HTML Lists
List can be nested (lists inside lists):
##### Code:
```html
<ul>
<li>Coffee</li>
<li>Tea
<ul>
<li>Black tea</li>
<li>Green tea</li>
</ul>
</li>
<li>Milk</li>
</ul>
```
##### Output:
<ul>
<li>Coffee</li>
<li>Tea
<ul>
<li>Black tea</li>
<li>Green tea</li>
</ul>
</li>
<li>Milk</li>
</ul>
#### More Information:
<!-- Please add any articles you think might be helpful to read before writing the article -->
* [HTML lists on w3schools](https://www.w3schools.com/html/html_lists.asp)
* [HTML lists on WebPlatform](https://webplatform.github.io/docs/guides/html_lists/)