“Attribut HTML Lang” Réponses codées

html lang en-us ou en-us

<!DOCTYPE html>
<html lang="en-US">
  	<!-- Specifies the document lauguage
 	(United States English) -->
</html>
Ugliest Unicorn

html lang

<!DOCTYPE html>

<html lang="en"> <!-- sets language to english -->
  
<!-- <head>, <body>, etc. contents-->

</html>
4tears

Attribut HTML Lang

The HTML lang attribute is used to identify the language of text content on the web. This information helps search engines return language specific results, and it is also used by screen readers that switch language profiles to provide the correct accent and pronunciation

Syntax
<element lang="language_code">
  
Example
Some French text in a paragraph:

<p lang="fr">Ceci est un paragraphe.</p>
Ankur

Réponses similaires à “Attribut HTML Lang”

Questions similaires à “Attribut HTML Lang”

Plus de réponses similaires à “Attribut HTML Lang” dans HTML

Parcourir les réponses de code populaires par langue

Parcourir d'autres langages de code