Run ❯
Get your
own
website
Result Size:
625 x 565
×
Change Orientation
Save Code
Change Theme, Dark/Light
Go to Spaces
<!DOCTYPE html> <html> <body> <ul id="myList" style="list-style-type:circle;"> <li>Coffee</li> <li>Tea</li> <li>Water</li> <li>Soda</li> </ul> <button type="button" onclick="myFunction()">Return list-item marker type</button> <script> function myFunction() { alert(document.getElementById("myList").style.listStyleType); } </script> </body> </html>