To display text in a list (either with numbers or with bullets) a tag called an Ordered List or an Unordered List can be used.
First, we will go over the Ordered List. This is for when you want your list to be numbered. First, you will start with the <ol> tag:
<ol>
Next, we will go down a line and add the words or sentences that we want listed. Each line will have a <li> tag, which stands for List Item. After adding those, our code now looks like:
<ol>
<li>This is the first line</li>
<li>This is the second line</li>
Now we will just close the Ordered List:
<ol>
<li>This is the first line</li>
<li>This is the second line</li>
</ol>
The coding above in your browser will now display:
The process to have an Unordered List (or bullets) is the same. The only difference is instead of <ol> and </ol> you will use <ul> </ul>. The code will look like this:
<ul>
<li>This is the first line</li>
<li>This is the second line</li>
</ul>
With the output looking like:
That is it! You have now created a list on your website.
Email: | support@WebHostingHub.com | Ticket: | Submit a Support Ticket |
---|---|---|---|
Call: |
877-595-4HUB (4482) 757-416-6627 (Intl.) |
Chat: | Click To Chat Now |
We value your feedback!
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
new! - Enter your name and email address above and we will post your feedback in the comments on this page!