w3-video.com logo

HTML5 Tutorial

Home HTML5 XAMPP .htaccess Firefox Notepad++

Share it



html translate attribute

The translate attribute on the html element:

Examples

<htmlattribute="value(s)">...<⁄html>example
21.translate="", yes, no<html translate=""> ... <⁄html>
<html translate="yes"> ... <⁄html>
<html translate="no"> ... <⁄html>

Video demonstration html translate attribute

HTML5 html translate attribute Tutorial

min video details
00:07 test1: no "translate" attribute specified on the html root element, → the page's content is translated in french by Google translate
00:35 test2: "translate" attribute, value: empty string applied on the html root element, → the page's content is translated in french by Google translate
01:00 test3: "translate" attribute, value: yes applied on the html root element, → the page's content is translated in french by Google translate
01:25 test4: no "translate" attribute on html element; "translate" attribute value:no on an h1 element → the page's content is translated in french except the content of h1 element
02:12 test5: "translate" attribute, value: no applied on the html root element → the page's content is NOT translated in french by Google translate
html intro html optional html occurrences html browser display html children html syntaxhtml manifest attribute introappcache CACHE sectionappcache NETWORK sectionappcache FALLBACK sectionappcache ADVANTAGESappcache DISADVANTAGEappcache fixes: 1aappcache fixes: 1bappcache fixes: 2aappcache fixes: 2bappcache fixes: 2cappcache fixes: 3html class attributehtml contenteditable attributehtml contextmenu attributehtml dir attributehtml hidden attributehtml id attributehtml lang attributehtml spellcheck attributehtml style attributehtml title attribute