html – 为什么在其中使用标记时不显示链接的标题

前端之家收集整理的这篇文章主要介绍了html – 为什么在其中使用标记时不显示链接的标题前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

这是HTML代码

<li>
  <a href="./hacks/hacks.html" title="Break the rules with techniques,not malicIoUs invasion into computer and destroy the computer network.">
    <strong>HACKS</strong>
  </a> -
  <em>Break the rules with techniques,not malicIoUs invasion into computer and destroy the computer network.</em>
</li>

问题

问题是当我把鼠标集中在链接上时,标题(用技术打破规则,而不是恶意入侵计算机并破坏计算机网络.)将不会出现.当我删除< strong>< / strong>时在HACKS之间,它有效. (IE 10)

截图

>屏幕截图 – 适用于没有< strong>< / strong>的IE 10 [冠军作品 – 不强]
>屏幕截图 – 在IE 10中不适用于< strong>< strong>

将浏览器更改为Chrome 27后,标题有效.

伙计们,有什么解释吗?

解决方法

如何在锚之外移动强者:
<li>
  <strong><a href="./hacks/hacks.html" title="Break the rules with techniques,not malicIoUs invasion into computer and destroy the computer network.">
    HACKS
  </a></strong> -
  <em>Break the rules with techniques,not malicIoUs invasion into computer and destroy the computer network.</em>
</li>

在IE7上测试过

猜你在找的HTML相关文章