<h1>大标题</h1> <p>文字</p> <h1>大标题</h1> <p>文字</p> <h1>大标题</h1> <p>文字</p> <h1>大标题</h1> <p>文字</p>
h1:before{ content:counter(my)'.'; } h1{ counter-increment:my; }