Escuro

HTML Lang Attribute Is Used To Define The Language Of The Page Or An Element

Full Stack Coding Tutorials
Visualizações 5 674
94% 67 4

HTML Lang Attribute Is Used To Define The Language Of The Page Or An Element brvid.net/video/video-4-IyIOx-1Ek.html
The HTML lang attribute allows developers to explicitly identify the language that the page is created in. This will help search engines rank pages in appropriate geographic locations.
Google Chrome also uses the lang attribute to figure out if your default browser langauge matches the langauge set on the page. If the languages don't match then your browser will offer to translate the page for you.
In addition to defining the HTML lang attribute for the full page, you can define the language for specific elements on a page.
When you are developing HTML pages you should always define the language of the page use the HTML lang attribute.
That's all there is to it. I hope this video helps you! If you have any questions, please leave them in the comments below. And before you go, subscribe and like :)
If you're into Wordpress, check out my WPLearningLab channel to learn more about WordPress so you can earn more for yourself, for your clients or for your business: brvid.net/u-wplearninglab

Publicado em

 

31 Mai 2017

Compartilhar:

Compartilhar:

Baixar vídeos:

Carregando o link.....

Adicionar a:

Minha playlist
Assista mais tarde
Comentários 13
Big Flic
Big Flic Mês atrás
Thank you!
Joevy YT
Joevy YT 2 meses atrás
Thanns
GoldenToothBrush
GoldenToothBrush 2 meses atrás
Hey thanks for the great video! I've also seen people use the language attribute in a meta tag. Does this make any difference and if so what are the pros and cons of using it in either? Thanks in advance.
Zena Mirza
Zena Mirza 4 meses atrás
how can you read this lang attribute in angular to see what is the set language ?
Nasir Faizi
Nasir Faizi 4 meses atrás
Hi I crest a full HTML site but I want to add a button for French language that if some one visit my site he or she can change the language by clicking that button Please let me know. Thanks.
Faysal Ahmed
Faysal Ahmed 4 meses atrás
thanks....i could learn
Derrick Swansey
Derrick Swansey 9 meses atrás
I put a code in the begin of my header for registation for google ads and i placed the code where it said to in between the head and the body
EsenJolie
EsenJolie 9 meses atrás
🙏😌
Stylus Design
Stylus Design Anos atrás
Hi, I'm trying to set my site to Japanese language and see this code at the begging of theme header,
Farkas Henrietta
Farkas Henrietta Anos atrás
Hello! What if I would like my page to be in 3 languages? (the same content) How do I do it? I know you have to make different files for the languages, but I don't really know how to do that.
jamal ouzaid
jamal ouzaid Anos atrás
thanks ,
Full Stack Coding Tutorials
You're welcome Jamal, thanks for watching!
Cristina Stoll
Cristina Stoll 2 anos atrás
Besides search engines, the "lang" attribute is ESSENTIAL for screen readers used by blind people! See my video on how a screen reader sounds when you don't do this: brvid.net/video/video-QwOoU8T24UY.html
Próximos vídeos
HTML | Language Attribute in HTML
21:53
HTML 17:  Lang Attribute
2:47
Visualizações 981
HTML: LANG Attribute
0:14
Visualizações 6
008 HTML Lang Attribute
1:09
Visualizações 80
HTML5 Tutorial: The lang Attribute
3:43
Using HTML Attribute "lang"
1:34
Visualizações 259
PRIMEIROS DIAS DO LUCAS EM CASA
13:50
Visualizações 653 988
VOCÊ É O JOVEM REI?! - Reigns
16:23
Visualizações 480 730