The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Displaying PDFs in Web pages, about the HTML embed tag
James
post 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
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post 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?

User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 27th April 2024 - 09:45 AM