CSS ::marker Selector

HTML Code

<!DOCTYPE html>
<html>
<head>
<style>
::marker {
color: red;
}
</style>
</head>
<body>

<ul>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ul>

<ol>
<li>First</li>
<li>Second</li>
<li>Third</li>
</ol>

</body>
</html>

HTML View

If you want to join my online or offline graphic designing course than just call me - 9334029817

Related Posts

Leave a Reply

Open chat