HTML List Tag's
(Here are few basic syntax with there example)
There are two kind of list in html :- order list and unorder list
order list Syntax and example :-
Opening tag = <ol>
closing tab = </ol>
Example:-
<ol>
<li>tomato</li>
<li>onion</li>
</ol>
Here is the Output:-
1.tomato
2.onion
Now lets move on the next list type which is unorder list syntax
Opening tag = <ul>
closing tab = </ul>
<ul>
<li>tomato</li>
<li>onion</li>
</ul>
Here is the Output:-
•tomato
•onion
so these are the both syntax of list tag i hope you got the logic behind them