go top

alt attribute

  • 替代属性:在HTML中,alt属性用于为图像提供替代文本,当图像无法显示时,替代文本将显示在图像的位置。这有助于提高网站的可访问性,特别是对于视觉受损的用户。

网络释义英英释义

短语

Add an alt Attribute 添加图像说明

Alt attribute

  • abstract: The alt attribute is used in HTML and XHTML documents to specify alternative text (alt text) that is to be rendered when the element to which it is applied cannot be rendered. It is also used by "screen reader" software so that a person who is listening to the content of a webpage (for instance, a person who is blind) can interact with this element.

以上来源于: WordNet

双语例句

  • When you validate a page with 50 or 100 images -- and none of them use the alt attribute -- this can be a huge headache.

    如果验证的页面有 50 或 100 张图片,而且都没有使用 alt属性,这可能是件很麻烦的事。

    youdao

  • It is used in the ALT attribute of the HTML tag when the channel is rendered in HTML.

    当频道以HTML呈现时,用作HTML标签的alt属性。

    youdao

  • Longdesc is used to give a URI that points to a fuller description of the image than given in the Alt attribute.

    longdesc用于提供一个URI,该URI指向关于图片的、与al t属性中的说明相比更详细的描述。

    youdao

更多双语例句
$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定