比如我有一个test.html,其内容如下:
<div id="contents">
<ul class="firstClass">
</ul>
<ul class="onlyClass">
<li><a href="http://www.baidu.com"><span class="only">Rabbit</span><br>
The Rabbit and The Wolf’One day a rabbit was walking near the hill.<br>
He heard someone crying,‘Help! Help!’It was a wolf. A big stone was on the wolfs
back.
<br>
He cried, "Mr. Rabbit, take this big stone from my back, or I will die." </a>
</li>
<li><a href="http://www.baidu.com"><span class="only">Stone</span><br>
The Rabbit moved the stone from the wolfs back. Then the wolf jumped and caught
the rabbit.