Forum Moderators: open

Message Too Old, No Replies

Link to .doc

         

yllai

2:59 am on Apr 19, 2004 (gmt 0)

10+ Year Member



If we want to display an image we coded as <img src="imageName.jpg">

But if I want to display content for a document file(.doc), how I can coded them?

bill

3:49 am on Apr 19, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



<a href="http://example.com/file.doc">Link to Doc</a>

Purple Martin

4:54 am on Apr 19, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The big question is this: what are you trying to achieve? If you want to make information available online, the best way is to mark it up as HTML (there's not much point trying to force a non-web document to work as a web document).

If on the other hand you need to make a non-web document available for download, Bill's suggestion of a link to the document is probably the best. Don't forget to give an indication of the document's type and file size, and a quick description of it's contents.

tedster

7:02 am on Apr 19, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Recent versions of IE will open a doc in the browser window on left click, just like a pdf does - but that's only IE (and I really wish it wouldn't do that!)