Internet Technologies
1.0.0
1.0.0
  • Introduction
  • Contents
  • Practical List
  • HTML & CSS
    • Q1
    • Q2
    • Q3
    • Q4
    • Q5
  • JAVA Programs
    • Q6
    • Q7
    • Q8
    • Q9
    • Q10
    • Q11
    • Q12
  • JAVASCRIPT
    • Q13
    • Q14
    • Q15
  • JDBC
    • Q16
    • Q17
  • JSP
    • Side Note
    • Q18
    • Q19
    • Q20
    • Q21
    • Q22
    • Q23
  • End
Powered by GitBook
On this page
  • Code
  • Output
  1. HTML & CSS

Q2

Question 2

PreviousQ1NextQ3

Last updated 4 years ago

Create HTML document with Ordered and Unordered lists.

Tags that will be used:

  • <ul>

  • <li>

  • <ol>

Code

<html>

<head>
  <title>html-2</title>
</head>

<body>

  <h2>Unordered List</h2>

  <ul>
    <li>Unordered Item 1</li>
    <li>Unordered Item 2</li>
    <li>Unordered Item 3</li>
  </ul>

  <h2>Ordered List</h2>

  <ol>
    <li>Ordered Item 1</li>
    <li>Ordered Item 2</li>
    <li>Ordered Item 3</li>
  </ol>
</body>

</html>

Output

Try or Test The Corresponding Code Here

Browse Source Code
Live Demo html-2.html
312B
html-2.html
Download html-2.html
Image output for html-2.html