Thiswon’tgettranslated.

"/> Thiswon’tgettranslated.

">

Home  >  Article  >  Web Front-end  >  How to use global translation attribute in HTML5?

How to use global translation attribute in HTML5?

WBOY
WBOYforward
2023-09-22 20:49:02685browse

How to use global translation attribute in HTML5?

#The translate attribute is used to set whether the element content needs to be translated.

The following is a list of attributes:

##No need to translate the content.
Attribute value

Description

Yes

Need to translate content.

No

If you don't want a specific word to be translated, add it to the

translate attribute.

<p translate="no">This won&rsquo;t get translated.</p>

The above is the detailed content of How to use global translation attribute in HTML5?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:tutorialspoint.com. If there is any infringement, please contact admin@php.cn delete