<!doctype html> <style> :first-of-type::after { content: counter(ctr385,korean-hanja-informal) counter(ctr636); } :only-of-type { padding-inline-end:83%; } </style> <s> <a id='a'></a> <script> let o = document.getElementById('a'); document.body.offsetTop; o.parentNode.appendChild(o); </script>