HTML DOM Style Object listStyle Property

What are all the list properties available in the style object?

Explanation

HTML DOM Style Object listStyle Property:
The liststyle property is used to change the values to the list items at runtime. The list properties of the style object were listed in the table given below:
syntax:
object.style.property=value;
ListStyle Property Description values
listStyleSets all properties for the list in onelistStyleType
listStylePosition
listStyleImage
listStyleImageSets an image as the list-item markerurl
none
listStylePositionPositions the list-item markerinside
outside
listStyleTypeSets the list-item marker typedisc
circle
square
decimal
decimal-leading-zero
lower-alpha
upper-alpha

Ask Questions

Ask Question