Answers for "how to code a list in html"

4

html number list

<ol type="1">
	<li>Item 1</li>
	<li>Item 2</li>
	<li>Item 3</li>
</ol>

<ol type="A">
	<li>Item 1</li>
	<li>Item 2</li>
	<li>Item 3</li>
</ol>

<ol type="a">
	<li>Item 1</li>
	<li>Item 2</li>
	<li>Item 3</li>
</ol>

<ol type="I">
	<li>Item 1</li>
	<li>Item 2</li>
	<li>Item 3</li>
</ol>

<ol type="i">
	<li>Item 1</li>
	<li>Item 2</li>
	<li>Item 3</li>
</ol>
Posted by: Guest on July-31-2020
1

how to make list in html

creats an organised list
<ol>
  <li>apple</li>
  <li>mango</li>
  <li>watermelon</li>
</ol>
creats an unorganised list
<ul>
  <li>apple</li>
  <li>mango</li>
  <li>watermelon</li>
</ul>
Posted by: Guest on March-06-2021

Browse Popular Code Answers by Language