can someone tell me how to showing document (.doc, .docx, .pdf, etc) inside html page?
without opening separately application like MS Word or adobe reader

i had try this script :
<!DOCTYPE html> <html> <head> <title>Open Word in Iframe</title> </head> <body> <DIV align="CENTER"> <TABLE BORDER="1" CELLSPACING="1" CELLPADDING="1" WIDTH="100%"> <TR> <TD WIDTH="25%" ALIGN="left" VALIGN="TOP"> <a href="nomor.doc" target="awindow">Doc 1</A><br> </TD> <TD WIDTH="75%" ALIGN="CENTER" VALIGN="TOP"> <iframe name="awindow" frameborder=2 width=580 height=440 src="nomor.doc"></iframe> </TD></TR></TABLE></CENTER> </DIV> </body> </html>

but when i click link 'Doc 1', the browser pop up download notification,,
please help me :)

thank you for reply,, :)

NB: sorry for my wrost grammar

first, thank you for reply

but Server not found :(

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.