如何在HTML中指定元素的内容是否应该被翻译?

王林
王林 转载
2023-08-23 14:01:25 986浏览

如何在HTML中指定元素的内容是否应该被翻译?

The following are the attributes −

AttributeValue

Description

Yes

The content should be translated.

No

The content should not be translated.

If you did not want a specific word to be translated, then add it to the translate attribute −

<p translate = "no">This won’t get translated.</p>

以上就是如何在HTML中指定元素的内容是否应该被翻译?的详细内容,更多请关注php中文网其它相关文章!

声明:本文转载于:tutorialspoint,如有侵犯,请联系admin@php.cn删除