W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > October to December 1998

Re: html to word to html question?

From: Chris Kreussling <CHRIS.KREUSSLING@ny.frb.org>
Date: Tue, 15 Dec 1998 14:12:12 -0500
To: w3c-wai-ig@w3.org
Message-id: <s6766f0f.020@ny.frb.org>
>>> <w3c-wai-ig@w3.org> 12/15 12:18 PM >>>
>>> <w3c-wai-ig@w3.org> (poehlman) 12/12 7:14 AM >>>
I've heard that if you create a page with alt tags and bring it into
word to edit it and then export it back to html that the alts are
stripped? can anyone confirm or deny this?
Thanks!
<<<
I'm guessing you mean the ALT= attribute on the <IMG> tag? (There's no <ALT> tag.)

That's about what I'd expect to happen, with Word or any other wordprocessor.

I could test this on my system if you can confirm the scenario:
- Start with an HTML document, created by any means.
- The doc contains an <IMG> with the ALT= attribute.
- The HTML doc is opened in Word and some text on the page is changed or added.
- The page is "Saved as HTML" from Word, without first saving it in Word format.
<<<

I could *not* re-create the problem described when I tested this on my own system using MS Word 97 for Windows. I followed the scenario with a simple test page (created in Netscape Page Composer) with a Heading, one line of text, and an image with ALT= text. I opened the HTML file in Word97, added one word to the text of the Heading, then saved the file back to HTML with a new name. The ALT= text was not affected.

MS Word 97, at least, seems to recognize HTML and preserve it. Obviously, other versions of Word may behave differently. I suspect that *any* word processor would strip the ALT= text if you first save the document in its *native* format, then try to save it back to HTML.

<author>Chris Kreussling</author> 
<disclaimer>The views expressed are those of the author and do not necessarily reflect the position of the Federal Reserve Bank of New York or the Federal Reserve System.</disclaimer>
Received on Tuesday, 15 December 1998 14:16:40 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 19 July 2011 18:13:41 GMT