Jayneahl

Jayneahl

Monday, August 8, 2011

August 1-5

I learned this week is how to create a website with <li>

HTML <li> Tag

Example

One ordered and one unordered HTML list:
<ol>
  <li>Coffee</li>
  <li>Tea</li>
  <li>Milk</li>
</ol>

<ul>
  <li>Coffee</li>
  <li>Tea</li>
  <li>Milk</li>
</ul>

Try it yourself »
(more examples at the bottom of this page)

Definition and Usage

The <li> tag defines a list item.
The <li> tag is used in both ordered (<ol>) and unordered (<ul>) lists.



Differences Between HTML and XHTML

NONE

Tips and Notes

Tip: Use CSS to define the type of list and list item.

No comments:

Post a Comment