Displaying PDFs in Web pages, about the HTML embed tag |
Displaying PDFs in Web pages, about the HTML embed tag |
James |
Sep 17 2009, 01:11 AM
Post
#1
|
Advanced Member Group: Members Posts: 103 Joined: 29-September 06 From: Western Australia Member No.: 269 |
For the time being I want to display my son-in-law's PDF catalogue in one of the HTML Web pages I am coding for him.
I have done this successfully using the HTML <embed> tag, and it works on my computer (I have not uploaded it yet). However, since then my researches tell me that the <embed> tag is NEW to HTML 5 ... i.e. did not exist in HTML 4, which is a bit of a worry as I am using: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> Is this going to cause any problems with older browsers? Is there some other way of displaying PDFs? How do you display PDF files? Is HTML 4.01 strict still a good way to go, or in my absence is there a better environment underwhich to build Web sites? Kind regards, James |
pandy |
Sep 17 2009, 01:21 AM
Post
#2
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,733 Joined: 9-August 06 Member No.: 6 |
EMBED isn't new. It just hasn't been included in any spec before.
EMBED works well in browsers for including sound and video, but I'm afraid I don't know how it works with PDF. Neither do I know how user settings affect this. I always configure my reader not to open in the browser. I think I have to try this myself. What have you found so far? |
Lo-Fi Version | Time is now: 27th April 2024 - 09:45 AM |