File: li.html

package info (click to toggle)
wdg-html-reference 4.0-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 4,528 kB
  • ctags: 305
  • sloc: makefile: 39
file content (84 lines) | stat: -rw-r--r-- 5,222 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<!-- Thanks for reading the source of this document. Hope you enjoy -->
<!-- what you find here. Please let me know if you find any errors. -->
<HEAD>
<TITLE>LI - List item</TITLE>
<META NAME="description" CONTENT="Wilbur is the name for the next HTML standard (3.2). Here you can find all the tags in this proposal, including tips on usage and limitations.">
<META NAME="keywords" CONTENT="html authoring, reference, wilbur, tag overview">
<META NAME="generator" CONTENT="Orb v1.3 for OS/2">
<META NAME="author" CONTENT="Arnoud Engelfriet">
<LINK REV="made" HREF="mailto:galactus@htmlhelp.com" TITLE="Wilbur feedback">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#800080"
ALINK="#000080">
<H1 ALIGN=CENTER>LI - List item</H1>

<TABLE>
<TR>
<TH VALIGN=TOP ALIGN=LEFT><B>Appearance:</B></TH> 
<TD VALIGN=TOP>&lt;LI&gt; [&lt;/LI&gt;]<BR></TD>
</TR>
<TR>
<TH VALIGN=TOP ALIGN=LEFT><B>Attributes:</B></TH> 
<TD VALIGN=TOP>TYPE=disc|square|circle when in <A HREF="../list/ul.html">UL</A>, TYPE=1|a|A|i|I when in <A HREF="../list/ol.html">OL</A>, VALUE=<CODE>n</CODE><BR></TD>
</TR>
<TR>
<TH VALIGN=TOP ALIGN=LEFT><B>Contents:</B></TH> 
<TD VALIGN=TOP><A HREF="../block/p.html">P</A>, <A HREF="../list/ul.html">UL</A>, <A HREF="../list/ol.html">OL</A>, <A HREF="../list/dir.html">DIR</A>, <A HREF="../list/menu.html">MENU</A>, <A HREF="../block/pre.html">PRE</A>, <A HREF="../list/dl.html">DL</A>, <A HREF="../block/div.html">DIV</A>, <A HREF="../block/center.html">CENTER</A>, <A HREF="../block/blockquote.html">BLOCKQUOTE</A>, <A HREF="../block/form.html">FORM</A>, <A HREF="../block/hr.html">HR</A>, <A HREF="../table/table.html">TABLE</A> and <A HREF="../font/tt.html">TT</A>, <A HREF="../font/i.html">I</A>, <A HREF="../font/b.html">B</A>, <A HREF="../font/u.html">U</A>, <A HREF="../font/strike.html">STRIKE</A>, <A HREF="../font/big.html">BIG</A>, <A HREF="../font/small.html">SMALL</A>, <A HREF="../font/sub.html">SUB</A>, <A HREF="../font/sup.html">SUP</A>, <A HREF="../phrase/em.html">EM</A>, <A HREF="../phrase/strong.html">STRONG</A>, <A HREF="../phrase/dfn.html">DFN</A>, <A HREF="../phrase/code.html">CODE</A>, <A HREF="../phrase/samp.html">SAMP</A>, <A HREF="../phrase/kbd.html">KBD</A>, <A HREF="../phrase/var.html">VAR</A>, <A HREF="../phrase/cite.html">CITE</A>, <A HREF="../special/a.html">A</A>, <A HREF="../special/applet.html">APPLET</A>, <A HREF="../special/img.html">IMG</A>, <A HREF="../special/font.html">FONT</A>, <A HREF="../special/basefont.html">BASEFONT</A>, <A HREF="../special/br.html">BR</A>, <A HREF="../special/map.html">MAP</A>, <A HREF="../form/input.html">INPUT</A>, <A HREF="../form/select.html">SELECT</A>, <A HREF="../form/textarea.html">TEXTAREA</A> and <A HREF="../misc/pcdata.html">plain text</A>.<BR></TD>
</TR>
<TR>
<TH VALIGN=TOP ALIGN=LEFT><B>May occur in:</B></TH> 
<TD VALIGN=TOP><A HREF="../list/ul.html">UL</A>, <A HREF="../list/ol.html">OL</A>, <A HREF="../list/dir.html">DIR</A>, <A HREF="../list/menu.html">MENU</A>.<BR></TD>
</TR>
</TABLE>

<P>
The LI element is used to mark list items within a list. When the list
used is <A HREF="../list/ol.html">OL</A>, ordered list, the LI element will be rendered with
a number. The appearance of that number can be controlled with the TYPE
attribute. Similarly, inside an unordered list <A HREF="../list/ul.html">UL</A> the type of bullet
that is displayed can be controlled with TYPE. <A HREF="../list/dir.html">DIR</A> and <A HREF="../list/menu.html">MENU</A> can't
be controlled this way, as they are not required to be bulleted or
numbered. For ordered lists, you can also reset the sequence with the 
VALUE attribute.
<P>
The TYPEs for ordered lists should give the following appearance:
<UL>
<LI>1 - Arabic numbers (default) (1, 2, 3, 4, ...)
<LI>a - Alphanumeric, lowercase (a, b, c, d, ...)
<LI>A - Alphanumeric, uppercase (A, B, C, D, ...)
<LI>i - Roman numbers, lowercase (i, ii, iii, iv, ...)
<LI>I - Roman numbers, uppercase (I, II, III, IV, ...)
</UL>

  <H2>Notes:</H2>
<UL>

<LI>The attributes on LI are new with HTML 3.2, and so not supported by
all browsers yet.
<LI>Using LI outside its proper context to get a bullet in the text
is not guaranteed to work.  A browser is free to ignore such an
out-of-context item.
<LI>When the LI element is used inside <A HREF="../list/menu.html">MENU</A> or <A HREF="../list/dir.html">DIR</A>,
it is not permitted to include <A HREF="../block/index.html">block
elements</A>, <A HREF="../list/index.html">list elements</A> or
<A HREF="../table/table.html">TABLE</A>s in the LI's contents.
</UL>
<HR>
<CENTER>
<P>
<B><IMG SRC="../icon/wdglogo-small.gif" WIDTH=105 HEIGHT=40 ALT="Web Design Group" ALIGN=RIGHT></B><BR>
<A HREF="../index.html" TITLE="Index for Wilbur">Wilbur index</A>&nbsp;~
<A HREF="../overview.html" TITLE="Overview of HTML 3.2 tags">Tag overview</A>&nbsp;~
<A HREF="mailto:galactus@htmlhelp.com" TITLE="Wilbur reference feedback">Feedback</A>
<P>
<SMALL>
Copyright &copy; 1997 <A HREF="http://www.stack.nl/%7Egalactus/">Arnoud "Galactus" Engelfriet</A>.
</SMALL>
</CENTER>
</BODY>
</HTML>