Html unorderedlist
HTML Unordered List or Bulleted List
HTML Unordered List or Bulleted List displays elements in bulleted format . We can use unordered list where we do not need to display items in any particular order. 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.
ul type="circle"
Output:
- HTML
- Java
- JavaScript
- SQL
ul type="square"
Output:
- HTML
- Java
- JavaScript
- SQL
ul type="none"
Output:
HTMLJava
JavaScript
SQL
You can also use CSS property for this. Let's see an example.
Code:
Output:
Comments
Post a Comment