html tutorial - translate Attribute in HTML - html5 - html code - html form

  • The translate attribute describes whether the content of an element has been translated or not.
  • The translate attribute is a section of the Global Attributes.

Syntax for translate attribute in HTML:

<element translate ="value">

Difference between HTML 4.01 and HTML 5 for translate Attribute:

HTML 4.01

  • The translate attribute not supported.


  • The translate attribute is newly added.

Applies To:

Element Attribute
All HTML elements translate

translate Attribute Values:

Value Description
yes Defines that the content of the element has been translated
no Defines that the content of the element has not been translated

Sample Coding for translate Attribute in HTML:

<!DOCTYPE html>
        <p translate="no">Don't translate Wikitechy!</p>

Code Explanation for translate Attribute in HTML:

translate Attribute Code Explanation

  1. <p> tag is used to defines the paragraph.
  2. translate attribute is has not been translated the content,“Don’t translate Wikitechy”, because the translate value is “no”.

Browser Support for translate Attribute in HTML:

No No No No No

Related Searches to translate Attribute in html

Adblocker detected! Please consider reading this notice.

We've detected that you are using AdBlock Plus or some other adblocking software which is preventing the page from fully loading.

We don't have any banner, Flash, animation, obnoxious sound, or popup ad. We do not implement these annoying types of ads!

We need money to operate the site, and almost all of it comes from our online advertising.

Please add to your ad blocking whitelist or disable your adblocking software.