<ul> tag in HTML
The <ul> tag stands an unordered list in HTML document. The <ul> tag is used to defines unordered list that can be start with a bullet.
- Open and close tag required of <ul> unordered list.
Example of <ul> tag
Result Look Like
- Apple
- Green Apple
- Banana
- Grapes
<ul> Tag Browser Support
Element |
Chrome |
Edge |
Firefox |
Safari |
Opera |
<ul> |
Yes |
Yes |
Yes |
Yes |
Yes |
Global Attributes
Event Attributes
Attributes
The "type" and "compact" both attributes are not supported in HTML5:
Attribute |
Value |
Description |
type |
circle
square
disc |
Defines which kind of f marker to use in the list |
compact |
compact |
Defines that the list should render smaller than normal |