Forum Moderators: open

Message Too Old, No Replies

Convert xhtml to html 4 transitional?

         

youfoundjake

9:27 pm on Oct 20, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Currently all the pages on my site are
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

They are standard pages, with some javascript and php everyone once in a while.

Would it be better to change them all to

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

If it's ok, I'll probably just do a find and replace through out the site, but are there any red flags being raised to anyone?

Thanks.
me

daveVk

2:07 am on Oct 21, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Before doing anything I would check if current pages validate, if so then why change? There are differences between the two, and it is debatable which is best, but if it correctly designed for one standard changing headers is asking for trouble.