How to Set the Title for a Hyperlink

When you hover the mouse pointer over some hyperlinks in a Web browser, a small pop-up window displays more information about the link. This is because the person who created the link added a <title> tag. You can add the <title> tag to your own hyperlinks when creating a website. Web crawling robots see this information and may rank your website more highly for certain keyword phrases. Additionally, visitors to your website can hover the mouse pointer over a link to learn more about it before clicking it.

Instructions

    • 1

      Open the source code for the Web page to which you want to add a hyperlink. If you do not have a dedicated HTML coding program, you can use the Windows Notepad application. Place the cursor at the location where you want to create the hyperlink.

    • 2

      Type

      <a href="http://www.example.com"

      Replace "www.example.com" with the URL of the website to which you want to link. Press the space bar.

    • 3

      Type

      title="Title Text">

      Replace "Title Text" with the information that you would like the Web browser to display when a visitor hovers the mouse pointer over the hyperlink. Do not press the space bar.

    • 4

      Type

      Anchor Text</a>

      Replace "Anchor Text" with the text that you would like visitors to click on to navigate to the hyperlink. The full hyperlink code should now look like

      <a href="http://www.example.com" title="Title Text">Anchor Text</a>

    • 5

      Save the file and upload it to your Web server.

Related Searches:

References

Comments

Related Ads

Featured