1 person found this helpful
You should convert them to XHTML 1.0 transitional eventually, but you don't need to before you've redone them.
More importantly, the syntax should be correct.
The Commands>Clean up XHTML tool is great for doing that.
You need to make sure that your page ID is showing XHTML 1.0 Transitional and then put it to the server.
Once it's up, check it at http://validator.w3.org/check/referer for compliance.
It's always a good feeling to see the Green bar of approval there.
Why are you using the DocType that you have?
I'm guessing now, but depending on your site, I wonder if it will make any difference to you at all?
There is a debate out there to be listened to over the choice between HTML or XHTML which has changed recently because of HTML 5.0. You also have a choice between Strict and Transitional so it might be an interesting bit of research for you to find out which way to go.
Once my page is converted, cleaned up, the ID is showing xhtml, and I put it to the server, then I check it with the validator for compliance? And will that check the syntax?
thanks for your help!
What is the DocType? I don't know what you mean. I built my site with DW8. Now I'm redesigning it completely.
Maybe converting is not necessary? That is why I posted my question.
Are you suggesting to wait, because of HTML 5.0?
Thanks for your help.
1 person found this helpful
"What is the DocType?"
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd">
Unless you have a script running ahead of it, the DocType is the very first line of code in your HTML.
If you are using your original DW8 files they are not likely transitional XHTML, but rather they are strict HTML.
above to declare the page type.
The DocType is the declaration at the very top of the page. There's a brief introduction here; http://webdesign.about.com/od/dtds/a/aa101700a.htm and plenty more to Google!
Not so long ago I think that the general feeling was that pages should use (X)HTML because this was seen to be forwards compatible. Then HTML 5.0 came along and everyone seems to like HTML again. There are different reasons for using the various document types and I don't suppose any of them are incorrect if the person using the DocType knows why it is being used.
I'm not suggesting that you use one over the other but it wouldn't hurt to find out a little more of the difference between (X)HTML and HTML and Strict and Transitional. I'm not suggesting either, to wait for HTML 5.0. I think that you should make your decion to either change or not and then not worry about it.
For myself, I always go with (X)HTML Strict because I once read that it was a good idea. I've since read that it's not such a good idea except where I've read that it's is a good idea it was like reading a foreign language! In fact, I think I would suggest that working out the difference between Strict and Transitional might be a better way to go although, I'm no expert.
At the end of the day, I'm not sure that changing your DocType will make a lot of difference to you in the long-run.