a attributes html code example

Example 1: a tag

<a href="https://www.google.com">Visit google.com!</a>

Example 2: html lang attribute

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>

Tags:

Html Example