日期:2013-10-03  浏览次数:20963 次

 挺鬼异的,有兴味的话,拿工具调试一下,建议是非IE
<html><head><title>:before, :after</title>
<style type="text/css">
h1:before { content:url(/webdesign/UploadFiles_9870/200702/20070205071316724.gif)" "; }
h2:before { content:"\2022"; }
h2:hover:after { content:" #"attr(id); color:#888; font-size:70%; font-style:italic; }
*[title]:after { content:" ("attr(title)")"; color:#080; }
</style>
</head><body>

<h1>Thema</h1>

<h2 id="einleitung">Einleitung</h2>

<p title="Erl?uterung...">Text mit <code>title</code>-Attribut</p>

<p><a href="index.html#before_after">zurück</a></p>

</body></html>