View Full Version : About hyperlinks in Word Doc.
RickJ
Jun 8, 2006, 04:57 AM
I save Word Docs as html for website use. These docs often have links that by default save to open in the same window.
How can I save a Word Doc as html so that the links are all _blank?
Thanks!
NeedKarma
Jun 8, 2006, 05:15 AM
First of all Word add TONS of additional garbage code when it converts to HTML. I don't really recommend it but it is simple to use.
The code for opening a new window is:
<A HREF="link.html" TARGET="_blank">
I'm not sure if that's what you were looking for.
RickJ
Jun 8, 2006, 05:18 AM
Thanks, Need. Yes, I know about the garbage, but it's the only easy way I have right now for my client to get me the info. Definitely all for a better way... but until then...
Yes, that code is what I'm looking for... but these word docs have many many links. I'm hoping to be able to "convert all links in the file to _blank"
NeedKarma
Jun 8, 2006, 05:30 AM
I don't know of any options in Word that would force such a thing.
Manually you could do a Find for "HREF" and add the code at each occurrence.
RickJ
Jun 8, 2006, 05:37 AM
Thanks Need. You prompted me to look more into the "other than Word" option:
https://www.askmehelpdesk.com/web-design/magazine-website-getting-info-client-27468.html