EMBED vs. OBJECT

Posted by JayhawksFan93 on Stack Overflow See other posts from Stack Overflow or by JayhawksFan93
Published on 2009-08-07T13:47:21Z Indexed on 2010/05/10 14:24 UTC
Read the original article Hit count: 516

Filed under:
|
|
|
|

Which is the right/best tag to use in my HTML file when I want to display the Adobe PDF viewer? Right now I'm using the code below, but there are weird side effects (e.g. it seems to steal the starting focus that I've set to another INPUT text box; it doesn't seem to play real well with the jQueryUI Resizeable class; etc.)

<embed src="abc.pdf" type="application/pdf" />

Could I even do the same thing with the OBJECT tag? Are there advantages/disadvantages to using one tag vs. the other?

© Stack Overflow or respective owner

Related posts about html

Related posts about html-object