Horje
HTML translate Attribute

Definition and Usage

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

Test: Use the Google translate box (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.

Here we use class="notranslate": ice cream.

Tip: Use class="notranslate" instead.


Applies to

The translate attribute is part of the Global Attributes, and can be used on any HTML element.

Element Attribute
All HTML elements translate

Browser Support


How to Specify that some elements should not be translated - HTML translate Attribute

See the Example.
index.html
Example: HTML
<p translate="no">Don't translate this!</p>
<p>This can be translated to any language.</p> 





html translate attribute

Type:
Develop
Category:
Web Tutorial
Sub Category:
HTML Attribute
Uploaded by:
Admin


Read Article
https://develop.horje.com/learn/1434/reference