Horje

How to Nest an unordered list inside an ordered list

See the Example and Learn more.

index.html
Example: HTML
<!DOCTYPE html>
<html>
<body>

<h1>An unordered list inside an ordered list</h1>

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

</body>
</html>

Output should be:

How to Nest an unordered list inside an ordered list




Type:
html
Category:
Web Tutorial
Sub Category:
HTML Tag
Uploaded by:
Admin