我不是很喜歡HTML,我有以下問題。如何在HTML中的div上插入鏈接?
我有這樣的外格:
<div data-wow-delay="0.25s" class="clearfix service-list odd wow fadeInLeft animated" style="visibility: visible; animation-delay: 0.25s; animation-name: fadeInLeft;">
<div class="service-image">
<img alt="test 1" src="http://localhost/onyx/wp-content/themes/accesspress-parallax/images/no-image.jpg">
</div>
<div class="service-detail">
<h3>test 1</h3>
<div class="service-content">
<p>https://it.wikipedia.or /wiki/Pagina_principale</p>
<p>and</p>
<p>https://www.google.it/</p>
<p> </p>
</div>
</div>
</div>
所以現在我想添加一個鏈接到外部DIV。什麼是最好的方式來做到這一點?
包裝在一個錨標記? – Pete
你到底想做什麼? OO不清楚...一個例子? (http://jsfiddle.net) – Julo0sS
皮特也不錯。 – Raghavendra