Embed document files into html
-
In html i can do this <iframe src="foobar.pdf" style="width:600px; height:600px;" frameborder="0"></iframe> which would allow me to embed a pdf into an html file. What process would i use to embed other doc files into html. (such as .doc and .odt)
-
Answer:
In principle, you'd use exactly the same procedure. The reason it works so well with PDF is because the vast majority of users have a PDF viewer (probably Adobe's) installed, including the appropriate browser plugin. However, if you specify another document type as the source, your browser probably won't have a plugin available for display and will instead attempt to open the file with an external program (such as Word or OpenLibreOffice) or just prompt to save. Most browsers (with the obvious and notable exception of iOS browsers) also have Flash installed--maybe you can find a Flash-based solution to display these files for you.
user14416 at Stack Overflow Visit the source
Related Q & A:
- how to embed multiple images into HTML email?Best solution by Stack Overflow
- How to Embed powerpoint in html?Best solution by Stack Overflow
- How to convert XML files to PDF files?Best solution by Super User
- How do I open this word document in html?Best solution by Stack Overflow
- How can I transfer all of my Yahoo email files to a document file in my documents?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.