Embed Documents using Google Docs

GoogleDocs is an online Office suite that helps you to create ,share and collaborate your documents online.

Now,GoogleDocs takes a big leap into embedding documents online.

The really cool part is that you need not upload your documents to GoogleDocs but your document needs to reside online.

 

Here's the code I used to embed the PDF file:

 

<iframe src="http://docs.google.com/gview?url=
http://infolab.stanford.edu/pub/papers/google.pdf&embedded=true"

style="width:600px; height:500px;" frameborder="0"></iframe>














but you should replace the bold URL with your own address.



As I mentioned, the document viewer works for PDF and PPT files.