Alt标签无法在我的网站上运行 [英] Alt Tags not working on my site

查看:161
本文介绍了Alt标签无法在我的网站上运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想弄清楚为什么alt图片代码无法在我的网站www.slickcar.com上运行。我已经查看了alt =标签,看起来是正确的但是当我在IE,Chrome或Firefox中查看时,当我将鼠标悬停在图像上时,它们不会显示。

I am trying to figure out why alt image tags are not working on my site www.slickcar.com. I have reviewed the alt= tag and it looks correct but when I look at in the IE, Chrome or Firefox they do not display when I hover over the images.

推荐答案

alt 属性并不是一个工具提示。它用作图像的文本替代,例如对于屏幕阅读器或文本浏览器用户,搜索引擎等。 alt 属性的值应描述内容(=图像),以便有人能够理解其含义/目的没有看到它的图像。

The alt attribute is not meant to be a tooltip. It serves as text alternative to the image, e.g. for screen reader or text browser users, search engines etc. The value of the alt attribute should describe the content (= the image), so that someone can understand the meaning/purpose of the image without seeing it.

title 属性的值通常显示为工具提示。它应该提供额外的(而不是替代)信息。

The value of the title attribute is typically shown as tooltip. It should give additional (and not alternative) information.

这篇关于Alt标签无法在我的网站上运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆