<!DOCTYPE html>
<html lang="en"> <!-- sets language to english -->
<!-- <head>, <body>, etc. contents-->
</html>
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>
<html lang="en">
<body>
<h1>Detects you are using english</h1>
</body>
</html>
Yeah actually it's not a programming language but it is a markup language.
Code Example |
---|
Html :: disabled any key in JS |
Html :: html text cut |
Html :: href add delay |
Html :: html pass a string to clipboard |
Html :: order invoice template in html |
Html :: express send html file |
Html :: how to like css to html |
Html :: multiple ternary in vuejs |
Html :: onclick on radio button |
Html :: abbreviations in html |
Html :: how to include href in image |
Html :: html link tag for other website |
Html :: Html.ActionLink with parameters |
Html :: bootstrap 3 form template |
Html :: navbar bootstrap |
Html :: html error font |
Html :: img text align |
Html :: django template comments |
Html :: html copy button |
Html :: how to hide error in laravel |
Html :: open image in new tab html |
Html :: javascript select option attribute |
Html :: wordpress icon font awesome |
Html :: embed meta tag nextjs |
Html :: index.html favicon.ico 404 (Not Found) |
Html :: dropdown content left |
Html :: height() jquery com php |
Html :: iframe in html |
Html :: form tag radio |
Html :: breaks html |