DIV实现欺骗性的超链接

pop:主要是在文字上面放一个DIV的层的链接使状态栏显示层的链接,而没有显示文字的链接

效果:打开浏览器会有一个超级链接。把鼠标放上去会变成手型,状态栏也显示是www.baidu.com,但是如果点击,将会指向另外一个网站。

将下面的代码保存为保存为 *.html

代码:

<div><a id="link" href="http://429006.com/" target="blank"></a></div>
<div>
<table><caption><label for="link">
<span style="text-decoration: underline;">www.baidu.com</span>
</label>
</caption>
<tbody></tbody>
</table>
</div>

This entry was posted in Technology and tagged , . Bookmark the permalink. 5,781 views

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *