後,添加圖片,這是對everypost如何超級鏈接
<div class="post-body">
<a href="http://www.google.com">google</a>
<a href="http://www.youtube.com">youtube</a>
<a href="http://www.facebook.com">facebook</a>
</div>
每個鏈接,如<a href="http://www.google.com">google</a>
的HTML具有相同的超鏈接在這種情況下<a href="http://www.google.com">google</a>
添加圖像和圖片src 內http://open.thumbshots.org/image.aspx?url=後添加超鏈接所以結果將是<img src="http://open.thumbshots.org/image.aspx?url=http://www.google.com" width="120px" />
下面的代碼是每個帖子中html的結果。
<div class="post-body">
<a href="http://www.google.com">google</a>
<a href="http://www.google.com"><img src="http://open.thumbshots.org/image.aspx?url=http://www.google.com" width="120px" /></a>
<a href="http://www.youtube.com">youtube</a>
<a href="http://www.youtube.com"><img src="http://open.thumbshots.org/image.aspx?url=http://www.youtube.com" width="120px" /></a>
<a href="http://www.facebook.com">facebook</a>
<a href="http://www.facebook.com"><img src="http://open.thumbshots.org/image.aspx?url=http://www.facebook.com" width="120px" /></a>
</div>
OP要求是超鏈接本身... –