pls help I'll mark brainlest
Answers
Answer:
is it something like match the following??
Answer:
Skip to content
HTML.com logo
Learn HTML Code, Tags & CSS
MENU
HTML / Lists Bring Order To Web Pages: Here’s The HTML Code To Create Them
Lists Bring Order To Web Pages: Here’s The HTML Code To Create Them
Disclosure: Your support helps keep the site running! We earn a referral fee for some of the services we recommend on this page. Learn more
Sharing is caring!
0
SHARES
Last Updated on November 14, 2019
Lists are used all the time on the web. Articles, website navigation menus, and product features on e-commerce websites all make frequent use of lists – even when you can't tell that a list is being used just by looking at the web page.
There are three types of lists you can use, and this quick guide will show you how to use each.
Contents [hide]
1 Unordered Lists
2 Ordered Lists
2.1 Changing Numbering
2.1.1 Creating a Countdown List
2.1.2 Starting a List on a Specific Number
2.1.3 Changing the Numbering Style
3 Description Lists
4 Nested Lists
5 Using Lists for Menus
6 Styling Lists
7 Closing Thoughts
8 Related Elements
Unordered Lists
An unordered list is a list in which the order of the list items does not matter. Unordered lists should be used when rearranging the order of the list items would not create confusion or change the meaning of the information on the list.
The ul element opens and closes an unordered list. The items on the list are contained between list item, li, tags. A simple unordered list containing three items could be created with the following HTML.
<ul>
<li>Item A</li>
<li>Item B</li>
<li>Item C</li>
</ul>
Unless CSS rules are created to change the appearance of the list, the default presentation of an unordered list is to add a disc-style bullet point on the left-hand side of each list item and to indent the entire list.
Here's how our short unordered list renders in a browser:
Item A
Item B
Item C
Ordered Lists
Ordered lists are used for lists of items for which the order of the items does matter. The syntax for an ordered list is exactly the same as for an unordered list. However, to create an ordered list, the ol tag is used rather than the ul tag. By making this one change, we can convert the unordered list in our previous example into an ordered list.
We're also going to change the text of the list items to make it clear that these are items that need to appear in a specific sequential order.
<ol>
<li>Step 1</li>
<li>Step 2</li>
<li>Step 3</li>
</ol>
As you can see below, rather than a bulleted list, we now have a numbered list.
Step 1
Step 2
Step 3
Changing Numbering
There are times when you want to control the numbering of ordered lists. For example, your list may be broken up by a paragraph that appears mid-list to expand on a certain concept, or you may create a countdown list that begins at a high number and counts down. Lastly, maybe you'd rather use roman numerals. HTML and CSS make it easy