How to Change Hyperlink Color Using HTML Programming

HTML, or hypertext markup language, is a computer language that is used to create web pages. Websites and web pages are written in HTML code. Whether you are setting up a personal web page or a business web page, learning HTML code can be very beneficial. Knowing how to use the codes can help you manipulate your page settings. HTML documents contain plain text and have the extension .html or .htm extension. You can change the colors of unvisited links on your page. Unvisited links are links that a viewer has not previously selected. You can also change the colors of visited links. Visited links are links that the viewers have previously selected. Changing the link color is a great way to give your page more appeal and attract viewers to it. This guide will teach you how to change link colors for display on your page. It presents a very simple approach to customizing your page.

Instructions

    • 1

      Start your word processor or text editor that you will use to create your web page. Type LINK=“?” inside of the <BODY> tag.

    • 2

      Replace the question mark with the name or code for the color you want to use. This will change the color of the unvisited link. Your text should look like the example below:<HTML><HEAD><TITLE>This is your title</TITLE></HEAD><BODY LINK=“=008000”>

    • 3

      Open a new web browser to verify that your web page displays the unvisited link in the color that you selected.

    • 4

      Type VLINK=“?” inside of the <BODY> tag. Replace the question mark with the name or code for the color you want to use. This will change the color of the visited link. Your text should look like the example below:<HTML><HEAD><TITLE>This is your title</TITLE></HEAD><BODY LINK=“=008000” VLINK=“008000”>

    • 5

      Open a new web browser to verify that your web page displays the visited link in the color that you selected. To display your page you may use a browser, such as Internet Explorer. To open your web page in the browser, click the "File" button along the menu bar, click "Open." The "Open" dialog box appears. Click "Browse" to locate your web page in the location that it is saved. Choose the web page that you wish to open. Your web page will appear in the browser.

Tips & Warnings

  • You should display your web page in several browsers to see how each browser will display your page.

Related Searches:

Comments

You May Also Like

Related Ads

Featured