Which is an element in HTML for type of language? I was tried but there was problem. It was not translated in french. Why? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Which is an element in HTML for type of language? I was tried but there was problem. It was not translated in french. Why?

When we want to change a language, french, English, etc, nessesary< element> about it in HTML ? https://code.sololearn.com/Wisan88Ump71/?ref=app

16th May 2019, 11:04 AM
Egor Tonchev(EGO)
Egor Tonchev(EGO) - avatar
8 Answers
+ 10
Please elaborate your question.
16th May 2019, 11:42 AM
JTLZ
+ 3
It's when we want change a language, nessesary element about it.
16th May 2019, 11:52 AM
Egor Tonchev(EGO)
Egor Tonchev(EGO) - avatar
+ 3
So I wrote <html lang ="fr"> In code above. Also I try to write <p lang ="fr">Do You speak french </p>. but notting is appeared in french. So Could someone write a successful code?
17th May 2019, 5:48 PM
Egor Tonchev(EGO)
Egor Tonchev(EGO) - avatar
+ 2
<html lang="fr"> This indicates it is french
16th May 2019, 12:22 PM
Trigger
Trigger - avatar
+ 2
Thank You, Thomas-:)
16th May 2019, 12:42 PM
Egor Tonchev(EGO)
Egor Tonchev(EGO) - avatar
+ 2
OK, Thank You, Thomas!
18th May 2019, 8:22 AM
Egor Tonchev(EGO)
Egor Tonchev(EGO) - avatar
+ 1
Pleasure👍🏼
16th May 2019, 12:44 PM
Trigger
Trigger - avatar
+ 1
Yeah. It doesn't actually "rewrite" everything in french. What is does is it tells the rest of the site and web crawlers that the site is in french For example, if you're english then french pages won't show up unless you specifically search for them You are going to have to manually write the french
17th May 2019, 6:22 PM
Trigger
Trigger - avatar