我不是很喜欢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