如何链接div然后在div中链接

时间:2013-06-13 17:09:35

标签: html

我要求将整个div链接到某个URL。 div中的内容是内容,内容中需要有链接。最好的方法是什么?所以我要说我有以下代码:

<div class="pet_container" onClick="window.location.href='some.html'">
<div class="pet_bullets_text">
<ul>
<li id="links">Retailer locator on <a href="http://www.somewebsite.com" target="_blank"><u>somewebsite.com</u></a> brings customers into your store</li>
</ul>                       
</div>

0 个答案:

没有答案
相关问题