Anyone knowing from this topic, why use transitional xhtml or why not use strict and which is the difference between doc types and which do you recommend?
that was a pretty difficult to understand article, please where can i direct for easier information..
Transitional DOCTYPES allow you to legally (as far as the specification is concerned) use older and obsolete (read: deprecated) code, such as FONT and CENTER tags and the target attribute. If you don't want to use these, then feel free to use a Strict DOCTYPE (I personally use HTML 4.01 Strict and XHTML 1.0 Strict, depending on the needs of the site I'm creating - though 9 times out of 10 I'll go with XHTML that conforms to Appendix C of the specification).
Well about me using Xhtml transitional or better check by yourself: Where should I use this kind of doctype?
If you're going to use an XHTML syntactical structure (like <meta /> or <img /> and need to use older tags and attributes, such as <center></center> and target="" then use XHTML 1.0 Transitional.
Oh I just do not use older tags anymore, I only use those from Xhtml like <br />, as I validated my site with w3c
Since you're using XHTML syntax and aren't using the older tags, then I suggest you go with XHTML 1.0 Strict for your DOCTYPE.
maybe you are right at this point, cause I copied this from w3 schools, now I understand that they still use tables.So what do you suggest?
Like I said earlier, I personally use XHTML 1.0 Strict and make sure it validates, using the bare minimum of clean, semantic markup for my structure and CSS for my presentation.
do you mean xhtml for semantic markup?So in general this important because of changes that affect browsers or because SE get you indexed more easily?
You can have semantic markup with both HTML and XHTML. The main difference is the syntax (<img> for HTML, <img /> for XHTML, that kind of stuff). My main reason for using XHTML is the syntax - it just makes sense to me that I should close everything I open.