|
| |
|
|
_gail
Posts: 2876 From: So FL Status: offline
|
interpretation of HTML ?! - 6/18/2002 16:59:54
"... missing the tags which would tell everyone's browser which version of HTML you're using. Without that kind of information available to it, a browser has to fall back to a more loose interpretation of your HTML." Can someone explain to me what this means? Never heard of it before. thanks, gail
|
|
|
|
Gil
Posts: 7533 From: North Carolina, USA Status: offline
|
RE: interpretation of HTML ?! - 6/18/2002 17:10:02
The DTD (Document Type Declaration) Tag <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> This is one of the few required tags for a HTML document and in the beggining was the most important tag. This tells the browser to use the Transitional & EN (english) version of HTML 4.0 to parse this document. Lately browsers have been parsing documents without this tag, but they use the "least strict" version of HTML, so may not render things exactly like you envisioned. Also, as we move away from HTML to XHTML & XML this tag will be critical! Gil Harvey The Host Factory Resellers are our Specialty Find a Web Professional
|
|
|
|
_gail
Posts: 2876 From: So FL Status: offline
|
RE: interpretation of HTML ?! - 6/18/2002 17:14:20
quote: The DTD (Document Type Declaration) Tag <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
Where do I paste the code, or do I enter it via Page Properties > Custom in FPage? thanks, gail Edited by - _gail on 06/18/2002 17:14:53
|
|
|
|
albino_lab_rat
Posts: 634 From: MN USA Status: offline
|
RE: interpretation of HTML ?! - 6/18/2002 18:33:12
It should be the very first thing on everypage. Also, it isn't code, its just a tag that tells browsers which version of HTML they should use to translate your mark-up into an eye pleasing, attention grabbing web page. I don't think FrontPage will put it in, so you will have to go to the HTML view and insert it yourself. Edited by - albino_lab_rat on 06/18/2002 18:34:54
|
|
|
|
_gail
Posts: 2876 From: So FL Status: offline
|
RE: interpretation of HTML ?! - 6/18/2002 20:24:57
Thanks all. One final question. The organization, to the extent possible, doesn't want their site "public." I note that's in the code. Should something else replace the word? gai
|
|
|
|
Charles W Davis
Posts: 1725 Joined: 3/7/2002 From: Henderson Nevada USA Status: offline
|
RE: interpretation of HTML ?! - 6/18/2002 20:51:55
Gail, If you are publishing to the World Wide Web, it is by definition "Public." You can create password protected pages that are then restricted. Enjoy! It's your endeavor! Chuck, the male ladybug. http://www.anthemwebs.com http://www.moderncabinetmaking.com
|
|
|
|
daveh42
Posts: 83 From: Maine USA Status: offline
|
RE: interpretation of HTML ?! - 6/19/2002 10:02:04
I believe in this case the word "PUBLIC" refers to the DTD and not to the page itself. That is, when this line is included in a page you are referencing the public HTML 4.0 Transitional DTD. Dave
|
|
|
|
albino_lab_rat
Posts: 634 From: MN USA Status: offline
|
RE: interpretation of HTML ?! - 6/20/2002 17:05:55
The DTD just defines which elements, attributes, tags, etc... that are used in the document. The PUBLIC portion of the DTD has nothing to do with with the page being open to the public or not.
|
|
|
|
_gail
Posts: 2876 From: So FL Status: offline
|
RE: interpretation of HTML ?! - 6/22/2002 9:54:26
quote: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
Should this tag be placed on all pages of a web, or just the home page? Thanks, gail
|
|
|
|
_gail
Posts: 2876 From: So FL Status: offline
|
RE: interpretation of HTML ?! - 6/22/2002 11:51:52
quote: It should be the very first thing on everypage.
For long-term newbies like myself who may not have realized something can precede the opening tag of a page, The DTD (Document Type Declaration) Tag should be placed ABOVE the initial <html> tag. Someone please correct me if I'm wrong. gail
|
|
|
|
Gil
Posts: 7533 From: North Carolina, USA Status: offline
|
RE: interpretation of HTML ?! - 6/22/2002 12:18:17
quote: quote: It should be the very first thing on everypage.
For long-term newbies like myself who may not have realized something can precede the opening tag of a page, The DTD (Document Type Declaration) Tag should be placed ABOVE the initial <html> tag. Someone please correct me if I'm wrong.
Correct - It is parsed by the browser before any HTML code is parsed, so it knows what rules to apply. Gil Harvey The Host Factory Resellers are our Specialty Find a Web Professional
|
|
|
|
Gil
Posts: 7533 From: North Carolina, USA Status: offline
|
RE: interpretation of HTML ?! - 6/22/2002 12:20:12
"I don't think FrontPage will put it in, so you will have to go to the HTML view and insert it yourself" by albino_lab_rat This a BIG bug in Frontpage and really needs to be fixed soon! Gil Harvey The Host Factory Resellers are our Specialty Find a Web Professional
|
|
|
|
_gail
Posts: 2876 From: So FL Status: offline
|
RE: interpretation of HTML ?! - 7/9/2002 7:49:32
Re: <!DOCTYPE HTML PUBLIC " -//W3C//DTD HTML 4.0 Transitional//EN" > It appears that putting this tag on a page which contains a simple form causes the form not to function, at least that' s what I recently experienced. Are there any other types of pages where placing this tag should be avoided?! gail
|
|
|
|
Gil
Posts: 7533 From: North Carolina, USA Status: offline
|
RE: interpretation of HTML ?! - 7/9/2002 9:00:44
URL? of the one not working
_____________________________
Gil Harvey, 1947-2004
|
|
|
|
_gail
Posts: 2876 From: So FL Status: offline
|
RE: RE: interpretation of HTML ?! - 7/9/2002 9:26:29
quote:
ORIGINAL: Gil URL? of the one not working It' s http://www.psychic-stories.com/submission.htm It is working now that I' ve removed the tag. gail ps please note: I do not necessarily endorse or subscribe to my clients products or services.
|
|
|
|
Gil
Posts: 7533 From: North Carolina, USA Status: offline
|
RE: interpretation of HTML ?! - 7/9/2002 16:22:30
quote:
Thanks, Gil, for pushing me to keep looking LOL - sometimes you have to just keep looking & looking & looking *.... I once spent three very long days trying to find a problem with a 60+ perl script - finally found a : that should have been a ;
_____________________________
Gil Harvey, 1947-2004
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|