Computer Science, asked by Lucky7111, 1 year ago

two ways to display HTML list?

Answers

Answered by siddhartharao77
19
There of two types of lists in HTML:

(1) Ordered List

(2) Unordered Lists

Ex:

Ordered Lists:

<ol type="A">
<li>HTML</li>
<li>CSS</li>
<li>Javascript</li>
</ol>


Ex:

Unordered List:

<ul type="disc">
<li>C</li>
<li>C++</li>
<li>Oracle</li>
</ul>


Hope this helps!
Answered by Anonymous
31
ANSWER
..........






2 WAYS OF LIST IN HTML ARE AS FOLLOWS
.......




1. ORDERED LIST


2. UNORDERED LIST




..........





1. ORDERED LIST

= EXAMPLE


<ol>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ol>





➡️ ➡️ ➡️ ➡️ ➡️ ➡️ ➡️ ➡️ ➡️ ➡️





2. UNORDERED LIST
= EXAMPLE



<ul>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ul>






Similar questions