Anchor Tag

    • Purpose: The HTML Anchor Tag creates hyperlinks to other web pages or sections within the same page.  It’s a fundamental element for web navigation.
    • Tags: <a>
    • Attributes
      • href: Specifies the URL or destination of the link.
      • target: Controls how the linked document is opened (e.g., “_blank” opens in a new tab/window).
      • title: Provides a tooltip that appears when the user hovers over the link.
    • Example:
<a href="https://innovbytesolutions.com" target="_blank" title="Visit Innovbyte Solutions">Click here to visit Innovbyte Solutions Website</a>

 

Mail to link

  • Purpose: Creates a clickable link that, when clicked, opens a new email message in the user’s default email client. This makes it easy for website visitors to contact you directly.
  • Format:
<a href="mailto:recipient_email@example.com">Link Text</a>
  • recipient_email@example.com: Replace this with the email address you want the message to be sent to.
  • Link Text: This is the text that users will see and click on (e.g., “Contact Us,” “Email Me”)
  • Example:
    •  
<a href="mailto:admin@innovbytesolutions.com">Mail Us</a>