WD97: HTML Alternate Text Displayed with Object (167694)
The information in this article applies to:
- Microsoft Word 97 for Windows
This article was previously published under Q167694 SYMPTOMS
When you open an HTML document in Word 97, if the document contains a
picture with alternate text, the HTML tag for the alternate text may not be
displayed correctly.
For example, the following HTML tag
<IMG SRC="jack.gif" ALT= "<Hi>" WIDTH=75 HEIGHT=75>
will display the graphic at its default size and the words "WIDTH=75
HEIGHT=75" will be displayed after the graphic.
The expected behavior of this tag is that the picture is displayed with a
size of 75 x 7, and the alternate text of "<Hi>" should be displayed if the
browser has been customized to hide graphics.
NOTE: The Graphic and alternate text may appear fine in your browser.
CAUSE
This problem occurs if the alternate text is enclosed in angle brackets or
greater than (>) or less than (<) symbols.
WORKAROUND
Use the following syntax to place the enclose the alternate text in angle
brackets:
<IMG SRC="jack.gif" ALT= "<Hi>" WIDTH=75 HEIGHT=75>
REFERENCES
"The HTML Reference Library for Windows 95," version 3.0, "Special
Characters"
Modification Type: | Major | Last Reviewed: | 11/14/2000 |
---|
Keywords: | kbhowto kbusage KB167694 |
---|
|