Cheap VPS & Xen Server


Residential Proxy Network - Hourly & Monthly Packages

HTML Unordered List


HTML Unordered List or Bulleted List displays elements in bulleted format. The HTML ul tag is used for the unordered list. There can be 4 types of bulleted list:

  • disc
  • circle
  • square
  • none

To represent different ordered lists, there are 4 types of attributes in <ul> tag.

Type Description
Type “disc” This is the default style. In this style, the list items are marked with bullets.
Type “circle” In this style, the list items are marked with circles.
Type “square” In this style, the list items are marked with squares.
Type “none” In this style, the list items are not marked .

HTML Unordered List Example

  1. <ul>
  2.  <li>HTML</li>
  3.  <li>Java</li>
  4.  <li>JavaScript</li>
  5.  <li>SQL</li>
  6. </ul>

Test it Now

Output:

  • HTML
  • Java
  • JavaScript
  • SQL

ul type=”circle”

  1. <ul type=“circle”>
  2.  <li>HTML</li>
  3.  <li>Java</li>
  4.  <li>JavaScript</li>
  5.  <li>SQL</li>
  6. </ul>

Test it Now

Output:

  • HTML
  • Java
  • JavaScript
  • SQL

ul type=”square”

  1. <ul type=“square”>
  2.  <li>HTML</li>
  3.  <li>Java</li>
  4.  <li>JavaScript</li>
  5.  <li>SQL</li>
  6. </ul>

Test it Now

Output:

  • HTML
  • Java
  • JavaScript
  • SQL

ul type=”none”

  1. <ul type=“none”>
  2.  <li>HTML</li>
  3.  <li>Java</li>
  4.  <li>JavaScript</li>
  5.  <li>SQL</li>
  6. </ul>

Test it Now

Output:

  • HTML
  • Java
  • JavaScript
  • SQL

Supporting Browsers

Element chrome_browser Chrome ie_browser IE firefox_browser Firefox opera_browser Opera safari_browser Safari
<ul> Yes Yes Yes Yes Yes

Comments

comments