This paragraph cannot be translated.

This paragraph can be translated.

```"> This paragraph cannot be translated.

This paragraph can be translated.

```" />
Easy Tutorial
❮ Att Progress Max Tag Cite ❯

HTML translate Attribute

HTML Global Attributes

Example

Specify that certain elements should not be translated:

<p translate="no">This paragraph cannot be translated.</p>
<p>This paragraph can be translated.</p>

Browser Support

Currently, no major browsers support the translate attribute.


Definition and Usage

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

Test: Using the Google Translate tool, see what the word "ice cream" becomes:

Here we use translate="no:

Here we use class="notranslate":

Tip: Use class="notranslate" instead.


Differences Between HTML 4.01 and HTML5

The translate attribute is new in HTML5.


Syntax

Attribute Values

Value Description
yes Specifies that the element content needs to be translated
no Specifies that the element content does not need to be translated
❮ Att Progress Max Tag Cite ❯