<li>

Used to create list items of HTML lists. Must be placed within <ul> or <ol> tags.

Attribute Description
class Classify or name your elements. For instance, if you classify several paragraph elements the same name, using CSS it is possible to give them all the same styles in one line of code.
dir Change the display of text from left to right, or right to left. Very useful in language translation.
id Specify an ID for your elements.
lang Define the language to display your element in. Here's a link to the abbreviations of languages. http://www.oasis-open.org/cover/iso639a.html
style Used to create inline styles such as CSS.
title Places a "pop-up" title for an element upon mouse over. Similar to "help" pop-ups in word programs.
type Sets the type of element, several variations of types can be set for nearly all elements.
value The String of your choice is now the value of that element.

Code:

<ul>
<li>List Item 1</li>
<li>List Item 2</li>
</ul>

Display:

  • List Item 1
  • List Item 2