Use of the type attribute in an unordered HTML list:
![]()
The type attribute is supported in all major browsers.
The <ul> type attribute is not supported in HTML5. Use CSS instead.
The type attribute of <ul> is deprecated in HTML 4.01.
The type attribute specifies the kind of marker to use in the unordered list.
The type attribute of <ul> is deprecated in HTML 4.01. Use CSS instead.
CSS syntax: <ul style="list-style-type:square">
In our CSS tutorial you can find more details about the list-style-type property.
| Value | Description |
|---|---|
| disc | Default. A filled circle |
| circle | An unfilled circle |
| square | A filled square |
HTML <ul> tag
Your message has been sent to W3Schools.