I am in the process of establishing a HTML coding standard for my group. We will use this for our JSP standards as well. I need to determine if I should make our standard XHTML 1.0 or use HTML. What are the pros and cons of XHTML? Furthermore, should we use the Strict, Transitional, or Frameset DTD? FYI, we have internet and intranet sites to maintain, as well as JSP based apps that run on WebSphere Application Server 4.0.3. Your feedback is greatly appreciated.
If you are only worried about "modern" browsers (in other words, not Netscape 4.x), XHTML is supported by IE5+, Netscape 6+ and all Mozilla-based browsers. Not sure about other marginal browsers like OmniWeb. While I would advocate using XHTML if at all possible, be aware that "Strict" is very much so. If for whatever reason you decide to stay with HTML, I'd advise you to follow the XHTML rules as much as poosible (lowercase elements, quote all attributes, and so on). hth, bear