HTML and CSS Reference
In-Depth Information
Notes
• This element has been deprecated by the W3C. Under the strict (X)HTML
specifications, the element is not supported, and under HTML5 it is marked
obsolete. The look provided by this element is supported by the CSS property
text-decoration:underline .
• Underlining text can be problematic because it looks similar to a link, especially in
a black-and-white environment.
<ul> (Unordered List)
This element is used to indicate an unordered list, namely a collection of items that does not
have a numerical ordering. The individual items in the list are defined by the li element,
which is the only allowed element within a <ul> tag.
Standard Syntax
<ul
class="class name(s)"
compact="compact" (transitional only)
dir="ltr | rtl"
id="unique alphanumeric identifier"
lang="language code"
style="style information"
title="advisory text"
type="circle | disc | square"> (transitional only)
List items specified by <li> tags
</ul>
Attributes Introduced by HTML5
accesskey="spaced list of accelerator key(s)"
contenteditable="true | false | inherit"
contextmenu="id of menu"
data-X="user-defined data"
draggable="true | false | auto"
hidden="hidden"
itemid="microdata id in URL format"
itemprop="microdata value"
itemref="space-separated list of IDs that may contain microdata"
itemscope="itemscope"
itemtype="microdata type in URL format"
spellcheck="true | false"
tabindex="number"
Attributes Defined by Internet Explorer
accesskey="key" (5.5)
contenteditable="false | true | inherit" (5.5)
hidefocus="true | false" (5.5)
language="javascript | jscript | vbs | vbscript" (4)
tabindex="number" (5.5)
unselectable="on | off" (5.5)
Search WWH ::




Custom Search