
The HTML translate attribute defines whether the content of an element should be translated.
Syntax:
<element translate="yes|no">
yes – defines that the content of the element should be translated
no – defines that the content of the element must not be translated.
Example:
<!DOCTYPE html>
<html>
<body>
<header>
<h1 translate="no">Lena Design</h1>
</header>
</body>
</html>
Output:
Lena Design
Enjoy coding!