ul

< html‎ | elements
Jump to: navigation, search

ul



Summary

Defines an unordered list, usually bulleted.


Overview Table

DOM Interface HTMLUListElement

Examples

This example uses the UL element to create a bulleted list.

<ul>
<li>This is the first bulleted item in the list.</li>
<li>And this is the second bulleted item in the list.</li>
</ul>

Notes

Remarks

The TYPE attribute sets the list type for all ensuing lists unless a different type value is set. The UL element inherits its line-height from the height of the font attribute for the BODY. For example, if the font-size attribute for the BODY is larger than the font-size attribute for the UL element, the list items in the UL are spaced according to the font-size of the BODY.

Standards information


HTML information

{

Compatibility

Desktop

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support ? ? ? ? ?

Mobile

Feature Android BlackBerry Chrome for mobile Firefox Mobile (Gecko) IE Mobile Opera Mobile Opera Mini Safari Mobile
Basic support ? ? ? ? ? ? ? ?

See also

Related pages (MSDN)

  • li

Attribution

This article contains content originally from external sources.

Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]