ReferenceElement Reference<li><li> The <li> tag renders a list item. That is, if you have an ordered (<ol>) or unordered (<ul>) list, every item in the list is surrounded by an <li> tag. Syntax VariantsThere are 3 variants of <li>. DefinitionListItemExerciseListItemListItemAttributesAttributes for <li>AttributeRequired?Valuescomponent = "…"optionalstringlabel = "…"optionalstringxml:base = "…"optionalstringxml:id = "…"optionalstringxml:lang = "…"optionalstringChildrenThe following may appear as children:<aside> <biographical> <blockquote> <console> <figure> <historical> <idx> <image> <list> <listing> <p> <pre> <program> <sage> <sbsgroup> <sidebyside> <table> <tabular> <title> <video> ParentsThis element may appear as an immediate child of the following elements: <dl> AttributesAttributes for <li>AttributeRequired?Valuescomponent = "…"optionalstringlabel = "…"optionalstringxml:id = "…"optionalstringChildrenThe following may appear as children(Show all):Formatting TagsKeyword TagsLatin TermsListsMathMusicQuotationSpecial Characters<blockquote> <cd> <console> <fillin> <fn> <idx> <image> <notation> <p> <pf> <pre> <prefigure> <program> <pubtitle> <quantity> <tabular> <var> <video> <xref> TextParentsThis element may appear as an immediate child of the following elements: <ol> AttributesAttributes for <li>AttributeRequired?Valuescomponent = "…"optionalstringlabel = "…"optionalstringxml:base = "…"optionalstringxml:id = "…"optionalstringxml:lang = "…"optionalstringChildrenThe following may appear as children(Show all):Formatting TagsKeyword TagsLatin TermsListsMathMusicQuotationSpecial Characters<aside> <biographical> <blockquote> <cd> <console> <figure> <fillin> <fn> <historical> <idx> <image> <list> <listing> <notation> <p> <pf> <pre> <prefigure> <program> <pubtitle> <quantity> <sage> <sbsgroup> <sidebyside> <table> <tabular> <title> <var> <video> <xref> TextParentsThis element may appear as an immediate child of the following elements: <ol> <ul> This tag cannot be the child of any other. This tag cannot be the child of any other. Examples SourcePreview<ul> <li>Item 1</li> <li>Item 2</li> </ul><letter><line>