I'm lost when it comes to picking which of these documents types to use for building web pages. I know there's a lot of problems with cross-browser compatibility issues so before I start building web pages which one is most likely to cause the least amount of problems Strict or Transitional, can someone post the code for me to use at the top of my pages.
Transitional: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Right now I'm using a Selida which has a wysiwyg design mode. Do you still think Transitional is the way to go for designing in wysiwyg mode. I know I should learn code but for now I just need to get a simple web page up on my site.
Transitional is what you should go for..Need a Transitional coder? I can do the job for you WYSIWYG systems are varied..If they have composed it with a perfect set of rules, you might just go around it perfectly..But I can assure you, if you are concerned over cross-browser compatibility, don't use WYSIWYG stuff Learn coding - or get a coder
Cross compatibility has nothing to do with which doctype you use. All new pages should use the strict doctype. No one ever has a need for transitional on new pages. So the choice is clear. Use this one: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> and let no one ever tell you different. If, for whatever reason, you think you have to use XHTML (few people do), here is XHTMLs version: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">