Horje
What is HTML translate Attribute

Definition and Usage

The translate attribute specifies whether the content of an element should be translated or not.

Test: Click on the Google translate image (next to the search button at the top of the page) to change to another language, and look what happens to the word "ice cream" below:

Here we use translate="no": ice cream.


Browser Support

Syntax

<element translate="yes|no">

Attribute Values

Value Description
yes Specifies that the content of the element should be translated
no Specifies that the content of the element must not be translated

How to Specify that some elements should not be translated

See the Example. When you will go to translate in Google. It will show you translate and not translate
index.html
Example: HTML
 <p translate="no">Don't translate this!</p>
<p>This can be translated to any language.</p> 





html translate attribute

Related Articles
What is HTML accesskey Attribute HTML Global Attributes
What is HTML class Attribute HTML Global Attributes
What is HTML contenteditable Attribute HTML Global Attributes
What is HTML data-* Attributes HTML Global Attributes
What is HTML dir Attribute HTML Global Attributes
What is HTML draggable Attribute HTML Global Attributes
What is HTML enterkeyhint Attribute HTML Global Attributes
What is HTML hidden Attribute HTML Global Attributes
What is HTML id Attribute HTML Global Attributes
What is HTML inert Attribute HTML Global Attributes
What is HTML inputmode Attribute HTML Global Attributes
What is HTML lang Attribute HTML Global Attributes
What is HTML popover Attribute HTML Global Attributes
What is HTML spellcheck Attribute HTML Global Attributes
What is HTML style Attribute HTML Global Attributes
What is HTML tabindex Attribute HTML Global Attributes
What is HTML title Attribute HTML Global Attributes
What is HTML translate Attribute HTML Global Attributes
What are the HTML Global Attributes HTML Global Attributes

Single Articles
How to Specify that some elements should not be translatedHTML Global Attributes

Read Full:
HTML Global Attributes
Type:
Develop
Category:
Web Tutorial
Sub Category:
HTML Global Attributes
Uploaded by:
Admin
Views:
30


Reffered: https://www.w3schools.com/tags/att_global_translate.asp