24/7 U.S. Support – 877-595-4482
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.
| 1. | Introduction to Website Design |
| 2. | Understanding HTML Tags |
| 3. | Changing Font Colors and Sizes |
| 4. | Creating Bullets and Numbered Lists |
| Email: | support@WebHostingHub.com | Ticket: | Submit a Support Ticket |
|---|---|---|---|
| Call: |
877-595-4HUB (4482) 757-416-6627 (Intl.) |
Chat: | Click To Chat Now |
Copyright © 2013 Web Hosting Hub - Privacy Policy - Terms of Service