w3-video.com logo

HTML5 Tutorial

Home HTML5 XAMPP .htaccess Firefox Notepad++

Share it

img translate attribute

The translate attribute on the img element:


<imgattribute="value(s)" >Examples
21.translate="", yes, no<img src=".." alt="alt text " translate>
<img src=".." alt="alt text " translate="yes">
<img src=".." alt="alt text " translate="no">

Video demonstration img translate attribute

HTML5 img translate attribute Tutorial

min video details
00:02 video tutorial: translate attribute on img
00:13 translate attribute on img indicates that the content of the alt attribute, type text, is translatable
00:35 "coucher de soleil" has been translated in English: sunset
img intro img optional img occurrences img browser display img parents server-side image map (ismap) vs client-side image map (usemap) img syntaximg alt attributeimg ismap attributeimg usemap attributeimg width, height attributesimg src attributeimg accesskey attributeimg class attributeimg draggable attributeimg hidden attributeimg id attributeimg lang attributeimg style attributeimg tabindex attributeimg title attribute