a tag attributes code example

Example 1: a tag

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

Example 2: a tag html

<a href = 'website.com/your/linked/page'>Text in link</a>

Example 3: html a tag

<a href=""></a>

Example 4: html anchor tag

The <a> tag defines a hyperlink, which is used to link from one page to another.

The most important attribute of the <a> element is the href attribute, which indicates the link's destination.

By default, links will appear as follows in all browsers:

1. An unvisited link is underlined and blue
2. A visited link is underlined and purple
3. An active link is underlined and red
  
Creating a link to programmingquest.com:
  <a href="https://www.programmingquest.com">Visit ProgrammingQuest</a>

Tags:

Css Example