Introduction to lists.

Program Description

In this code ordered and unordered list are used.

Program
<html>
<body>
<!-- Unordered list -->
List of programming language
<ul>
<li>C</li>
<li>C++</li>
<li>Java</li>
<li>Python</li>
</ul>

<!-- Ordered List -->
List of programming language
<ol>
<li>C</li>
<li>C++</li>
<li>Java</li>
<li>Python</li>
</ol>
</body>
</html>

Output
List of programming language
  • C
  • C++
  • Java
  • Python
List of programming language
  1. C
  2. C++
  3. Java
  4. Python

Comments
comments powered by Disqus