为什么alt中的html不显示文字?(why alt in html not display the text?)
我知道如果只能显示图像,则alt属性用于显示文本。 我在谷歌浏览器中禁用查看图像并尝试以下代码,但不显示文本。 为什么?
<!DOCTYPE html> <html> <head>Hello</head> <body> <img src="raja.jpg" alt="This is image text" title="This is tool tip"> </body> </html>I know alt attribute is used to display text if only image cannot be displayed. I disable viewing images in google chrome and try the below code but the text is not displayed. why?
<!DOCTYPE html> <html> <head>Hello</head> <body> <img src="raja.jpg" alt="This is image text" title="This is tool tip"> </body> </html>最满意答案
这似乎是Webkit(浏览器引擎)的一个bug,他没有渲染属性alt,如何显示这个bug痕迹。
铬
WebKit Bugzilla
It's seems a bug of Webkit (engine of browser), he doesn't render the attribute alt, how to show this bugs traces.
Chromium
WebKit Bugzilla
更多推荐
alt,text,html>,显示,电脑培训,计算机培训,IT培训"/> <meta name="descript
发布评论