How to remove the underline from a hyperlink

By default, Microsoft FrontPage underlines your hyperlinks. Here we will show you how to remove the underline from hyperlinks, both individually and for an entire page. Both processes involve adding code in HTML view in FrontPage.

Removing the Underline From a Single Hyperlink

To remove the underline for a single hyperlink and leave the rest with underlines, do the following:

  1. Open your page.
  2. In Page view, click the HTML tab to switch to HTML view.
  3. Find the code for the hyperlink you want to edit. The easiest way to do this is to use FrontPage's Find feature. If your hyperlink reads Photographs, type "photographs" in the Find What box. You will see code similar to the following:

<a href="http://www.adventure-works.com/photographs">

Photographs

</a>

Note that this code will begin with <a href=, then your hyperlink, then the name of your hyperlink, then

</a>.

  1. After your hyperlink (the address in quotation marks) but before the closing >, type:

Your completed code should look like this:

<a href="http://www.adventure-works.com/photographs" >

Photographs

</a>

Removing Underlines From an Entire Page

To remove the underlines for all hyperlinks on your page, do the following:

  1. Open your page.
  2. In Page view, click the HTML tab to switch to HTML view.
  3. At the top of the page, find the code that looks like the following. It will begin with

<html>

and end with

</head>

Your code may differ, but it will contain the

<html>

and the

</head>

tags.

<html>

<head>

<meta http-equiv="Content-Type"

content="text/html; charset=windows-1252">

<meta name="GENERATOR" content="Microsoft FrontPage 4.0">

<meta name="ProgId" content="FrontPage.Editor.Document">

<title>

New Page 3

</title>

</head>

  1. Place your cursor just before the

</head>

tag, and press Enter.

  1. Move your cursor to the beginning of the blank line you just created and enter the following text:

<style href>a {text-decoration: none} </style>

 Tip   If you want most of your hyperlinks to not have the underline, use this method. For the hyperlinks on your page you want underlined, highlight the hyperlink, and click the Underline icon on the formatting toolbar (represented by U). You can also highlight the hyperlink and press CTRL+U. Or you can right click it and select Font. From here, you can check the Underline box.

More information

For more extensive information on using styles and hyperlinks, see KB article #Q233104: FP2000: How to Alter the Formatting of Hyperlinks Using Styles.