<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<title>CSS Reference: ::marker pseudo elements styled with 'content' property</title> | |
<link rel="author" title="Oriol Brufau" href="mailto:obrufau@igalia.com"> | |
<style> | |
img { | |
display: list-item; | |
list-style-type: "[marker]"; | |
} | |
img.inside { | |
list-style-position: inside; | |
} | |
</style> | |
<ol> | |
<img src="about:invalid" alt="alt" class="inside" /> | |
<img src="about:invalid" alt="alt" /> | |
<li value="3">item</li> | |
</ol> |