HTML | <li> type Attribute Last Updated : 08 Mar, 2022 Comments Improve Suggest changes 5 Likes Like Report The <li> type attribute in HTML is used to specify the type of a list items. This attribute also defines the style of the bullet point of the list items. Syntax: <li type="1|a|A|i|I|disc|circle|square"> Attribute Values: For ordered list items: 1: It is the default value. It is used to specify the numerical ordered list.a: It arranged the list items in lower case letters.A: It arrange the list items in the form of upper case.i: It arrange the list items in the roman numbers in the form of lower case letters.I: It arranged the list in roman numerals in the form of uppercase letters. For unordered list items: disc: It is the default value. It creates a filled circle.circle: It creates an unfilled circle.square: It creates a filled square. Note: The <li> type attribute is not supported by HTML 5 Instead of using this attribute we can use CSS list-style-type property. Example 1: HTML <!DOCTYPE html> <html> <head> <title> HTML li type Attribute </title> </head> <body> <h1 style = "color: green;"> GeeksforGeeks </h1> <h2> HTML list item type Attribute </h2> <p>Sorting Algorithms</p> <ol> <li type="a">Merge sort</li> <li>Quick sort</li> <li type="I">Insertion sort</li> </ol> </body> </html> Output: Example 2: HTML <!DOCTYPE html> <html> <head> <title> HTML li type Attribute </title> </head> <body> <h1 style = "color: green;"> GeeksforGeeks </h1> <h2> HTML li type Attribute </h2> <p>Sorting Algorithms</p> <ul> <li>Merge sort</li> <li>Quick sort</li> <li type="square">Insertion sort</li> </ul> </body> </html> Output: Supported Browsers: The browser supported by HTML <li> type attribute are listed below: Google ChromeInternet ExplorerFirefoxSafariOpera Create Quiz Comment M manaschhabra2 Follow 5 Improve M manaschhabra2 Follow 5 Improve Article Tags : Web Technologies HTML HTML-Attributes Explore HTML BasicsHTML Introduction4 min readHTML Editors4 min readHTML Basics7 min readStructure & ElementsHTML Elements4 min readHTML Attributes7 min readHTML Headings3 min readHTML Paragraphs3 min readHTML Text Formatting4 min readHTML Block and Inline Elements3 min readHTML Charsets4 min readListsHTML Lists3 min readHTML Ordered Lists5 min readHTML Unordered Lists4 min readHTML Description Lists3 min readVisuals & MediaHTML Colors11 min readHTML Links Hyperlinks2 min readHTML Images7 min readHTML Favicon4 min readHTML Video4 min readLayouts & DesignsHTML Tables9 min readHTML Iframes4 min readHTML Layout4 min readHTML File Paths3 min readProjects & Advanced TopicsHTML Forms4 min readHTML5 Semantics5 min readHTML URL Encoding4 min readHTML Responsive Web Design11 min readTop 10 Projects For Beginners To Practice HTML and CSS Skills8 min readTutorial ReferencesHTML Tags - A to Z List5 min readHTML Attributes Complete Reference8 min readHTML Global Attributes5 min readHTML5 Complete Reference8 min readHTML5 MathML Complete Reference3 min readHTML DOM Complete Reference15+ min readHTML DOM Audio/Video Complete Reference2 min readSVG Element Complete Reference5 min readSVG Attribute Complete Reference8 min readSVG Property Complete Reference7 min readHTML Canvas Complete Reference4 min read Like