Producing web pages
* HTML CSS DHTML XHTML A to Z of tags        Accessibility          Design

List properties

These properties control the format of HTML lists such as <ul> and <ol>.

Property

Description

Values

Example

list-style

Shorthand for the list style properties

keyword
position
url

{ list-style: square outside url(icFolder.gif); }

list-style-image

The url of the picture to use as a bullet

url
none

{ list-style-image:url(icFile.gif); }

list-style-position

The position of the 'bullet' or number with respect to the content of the list item

inside
outside

{ list-style-position:inside; }

list-style-type

The type of bullet or number for list items

disk
circle
square
decimal
lower-roman
upper-roman
lower-alpha
upper-alpha
none
hebrew
armenian
georgian
cjk-ideographic
hiragana
hiragana-iroha
katakana
katakan-iroha

{ list-style-type:upper-alpha; }