What is <a> tag and how is it used?

Experience Level: Junior
Tags: HTML

Answer

The <a> (anchor):

  • Use with <herf> tag.
  • Creating hiperling to another webpage.
  • Or somewhere within current document.
Example
<a href="https://www.bettercoder.io" target="_blank">Go to Better Coder</a>

Comments

No Comments Yet.
Be the first to tell us what you think.
HTML for beginners
HTML for beginners

Are you learning HTML ? Try our test we designed to help you progress faster.

Test yourself