PUB97: Using the Name Attribute w/ Anchor Tag in an HTML File (172940)



The information in this article applies to:

  • Microsoft Publisher 97

This article was previously published under Q172940

SUMMARY

In Microsoft Publisher 97, the Name attribute for the Anchor tag can be used to jump to a new location within the same HyperText Markup Language (HTML) page. Microsoft Publisher does not provide a way to add this type of anchor to your publication before you export it in HTML format. If you need to use the Name attribute, you can add this attribute after you export your file from Publisher 97. This article describes the basic functionality of the Name attribute and provides links to more detailed HTML resources.

WARNING: ANY USE OF THE HTML CODE PROVIDED IN THIS ARTICLE IS AT YOUR OWN RISK. Microsoft provides this HTML code "as is" without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

MORE INFORMATION

Microsoft Publisher 97 does not directly support the HTML Name attribute for the Anchor tag. To use the Name attribute, you must change the HTML code after it has been exported from Publisher 97. You can use a text editor, such as Notepad or WordPad, or an HTML editor, such as Microsoft FrontPage, to make the change.

To create a link that goes to the introduction section of your web page, you would place the following tag in the introduction section of your file:
   <A NAME="intro">Introduction</A>
				
And you would place the following tag, as the source of the link, on your page:
   <A HREF="#C">Click Here for my Introduction</A>
				
You can find an alphabetical list of the standardized HTML 3.2 tags at the following location; You can find information about the Name attribute under the definition for the Anchor (<A>) tag. For more information about the HTML 3.2 specification, please go to the following World Wide Web site:

REFERENCES

For additional information about the HTML 3.2 specification and Microsoft Publisher 97, please see the following articles in the Microsoft Knowledge Base:

154844 PUB97: Publisher Does Not Support All HTML Features

154840 PUB97: HTML Does Not Support All Publisher Features


Modification Type:MinorLast Reviewed:8/17/2005
Keywords:kbhowto kbhtml KB172940