HTML Codes Tutorial by Example


Introduction
HTML tags
Basic HTML tags
HTML format
HTML table
HTML list
HTML link
HTML image
HTML frame
Special chars
Tags and SEO
HTML commands
HTML Color
Site Map










Data Warehousing & Business Intelligence





















HTML List

This section lists the tags often used with HTML lists: <ol>, <ul>, and <li>.

<ol>

The <ol> tag specifies that the following list is ordered.

<ul>

The <ul> tag specifies that the following list is unordered.

<li>

The <li> tag lists each item, whether ordered or numbered. Note that each item is indented.

Example 1: ordered list.

HTML:
<ol>
<li>Unordered list 1.</li>
<li>Unordered list 2.</li>
</ol>

Display:

  1. Unordered list 1.
  2. Unordered list 2.

Example 2: unordered list.

HTML:
<ul>
<li>Unordered list 1.</li>
<li>Unordered list 2.</li>
</ul>

Display:

  • Unordered list 1.
  • Unordered list 2.


Next Section

Site Map   |   Links

1