Answers for "ol tag in html"

4

ol types

<ol type="1">
  <li>The list items will be bulleted with numbers (default)</li>
</ol>
<ol type="A">
  <li>The list items will be bulleted with Capital(UPPERCASE) letters</li>
</ol>
<ol type="a">
  <li>The list items will be bulleted with with small(lowercase) letters</li>
</ol>
<ol type="I">
  <li>The list items will be bulleted with with Capital(UPPERCASE) Roman letters</li>
</ol>
<ol type="i">
  <li>The list items will be bulleted with with small(lowercase) Roman letters</li>
</ol>
Posted by: Guest on June-07-2020
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
0

<ol>

The ol element is used to define an ordered list.
This is a list where each list item is preceded by a numerical or alphabetical 
identifier (as opposed to an unordered list, ul , which has list items preceded
by bullet points).
Posted by: Guest on November-27-2020

Browse Popular Code Answers by Language