HTML Coding
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   SEO Chat ForumsOtherHTML Coding

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread SEO Chat Forums Sponsor:
  #1  
Old September 4th, 2003, 10:51 PM
Dinrock Dinrock is offline
Contributing User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: United States
Posts: 88 Dinrock User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 59 m 22 sec
Reputation Power: 6
regarding DOCTYPE declaration to help optimize FP site

To optimize my FP page, I am working in WYSIWYG but still need to include proper DOCTYPE declaration code first.
What is the difference between:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"

and

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">

Is there any real difference, or will either one work? I'll hand code either one first, then start building the rest in WYSIWYG.
Any feedback anyone? Thanks!


Dan

Reply With Quote
  #2  
Old September 8th, 2003, 03:19 AM
arden42 arden42 is offline
Contributing User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: Australia
Posts: 43 arden42 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
The Doctype Declaration tells the browser what version of the HTML specifications you are writing your page according to. In general, there is little point in using XHTML, not least of all because IE doesn't recognise it unless you tell it that it is actually HTML anyway.

The second DTD you have there I don't recognise at all.

For a new page, in most cases the HTML 4.01 Strict DTD is most appropriate:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
__________________
Mark Parnell
http://www.clarkecomputers.com.au

Reply With Quote
  #3  
Old September 8th, 2003, 03:23 AM
arden42 arden42 is offline
Contributing User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: Australia
Posts: 43 arden42 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
BTW: I can't see the DTD written above unless I look at the source for the page. Anyone know a way around this?

Also, you need to be very careful using FP to write your site - much better to hand-code it, or at least use a program that allows you more control over your code. FP tends to rewrite your code for you, very badly.

Reply With Quote
Reply

Viewing: SEO Chat ForumsOtherHTML Coding > regarding DOCTYPE declaration to help optimize FP site


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT