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:

  1. This is the first line
  2. This is the second line

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:

  • This is the first line
  • This is the second line

That is it!  You have now created a list on your website.

Did you find this article helpful?

Login to comment.

Your Opinion Matters

... but we need to know what you're thinking!

The Community Support team wrote the article you're looking at now. We like to think it's perfect, but we're sure you have some suggestions. Please, let us know what they are!

Feedback
Your Email Address
Because we'd like to talk with you!

Have a Question?

If you need some help, submit your question to our Community! We guarantee a response within 60 minutes (8am - 9pm EST, Monday - Friday)

Recent Questions

  1. my email is being rejected
  2. Can I run the FiverrScript on my hosting
  3. SQL database password

Support Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.