|
Posted by Jonathan N. Little on 02/22/07 15:59
let@it.snow wrote:
> If I want to embed a multi page TIFF file in a webpage I use;
>
> <embed src="../images/engtc.tiff" width="638" height="1076">
>
> Now I want to embed a PDF file in a webpage. Do I similarly use an
> <embed> tag for this? What sort of syntax is there, is it similar to
> that for multipage TIFF files?
Firstly, TIFF is really not an "Internet-supported" file type.
Secondly, should use OBJECT not EMBED...
<object data="../images/engtc.tiff" type="image/tiff" width="638"
height="1076">
<!-- Alternately will display link if not supported -->
<a href="../images/engtc.tiff">Download engtc.tiff</a>
</object>
I would not embed a PDF but supply a link, but anyway...
<object data="your.pdf" type=type="application/pdf">
<a href="your.pdf">your.pdf (umpteen KB)</a>
</object>
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Navigation:
[Reply to this message]
|