COMPUTER FUNDAMENTALS

COMPUTER NETWORKS AND COMMUNICATIONS

INTERNET AND WEB TECHNOLOGIES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
How can you make a numbered list?
A
<list>
B
<ol>
C
<dl>
D
<ul>
Explanation: 

Detailed explanation-1: -An ordered list is marked with the numbers by default. You can create an ordered list using the <ol></ol> tag and, define the list items using <li></li>. type="1"− This creates a numbered list starting from 1. type="A"− This creates a list numbered with uppercase letters starting from A.

Detailed explanation-2: -<ol>: The Ordered List element. The <ol> HTML element represents an ordered list of items-typically rendered as a numbered list.

Detailed explanation-3: -The <ol> tag defines an ordered list. An ordered list can be numerical or alphabetical. The <li> tag is used to define each list item.

Detailed explanation-4: -By default, browsers number ordered list items with a sequence of Arabic numerals. Besides being able to start the sequence at some number other than 1, you can use the type attribute with the <ol> tag to change the numbering style itself.

There is 1 question to complete.