“HTML Lang -Attribut” Code-Antworten

html lang en-us oder 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

HTML Lang -Attribut

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

Ähnliche Antworten wie “HTML Lang -Attribut”

Fragen ähnlich wie “HTML Lang -Attribut”

Weitere verwandte Antworten zu “HTML Lang -Attribut” auf HTML

Durchsuchen Sie beliebte Code-Antworten nach Sprache

Durchsuchen Sie andere Codesprachen