Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<!--
Any copyright is dedicated to the Public Domain.
-->
<html><head>
<title>HTML LI element: explicit scope</title>
<link rel="author" title="Mats Palmgren" href="mailto:mats@mozilla.org">
<style>
#a::before { content: "1"; }
#b::before { content: "2"; }
#c::before { content: "2.1"; }
#d::before { content: "3"; }
</style>
</head>
<body>
<ol>
<li value="1" id="a"></li>
<li value="2" id="b"></li>
<ol><li value="1" id="c"></li></ol>
<li value="3" id="d"></li>
</ol>
</body>
</html>