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:
@ -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/)
|
||||
|
||||
|
Reference in New Issue
Block a user