In terms of SEO, for client point of view, should I use XHTML 1.0 Transitional or XHTML 1.0 Strict?
Why some people still use Transitional?
Will we lose something if We use Transitional over Strict?
XHTML 1.0 Strict is the XML equivalent to strict HTML 4.01, and includes elements and attributes that have not been marked deprecated in the HTML 4.01 specification. As of November 2015, XHTML 1.0 Strict is the document type used for the homepage of the website of the World Wide Web Consortium.
There is no strict rules on structure when using HTML, but you should follow strict structure rules in XHTML. If you are using HTML, then you can use upper case and lower case for tags and attributes However, in XHTML, tags and attributes are strictly lower case.
You can use any one of three document types for your XHTML pages: XHTML 1.0 Strict. XHTML 1.0 Transitional. XHTML 1.0 Frameset.
XHTML was developed to make HTML more extensible and flexible to work with other data formats (such as XML). In addition, browsers ignore errors in HTML pages, and try to display the website even if it has some errors in the markup. So XHTML comes with a much stricter error handling.
XHTML Strict forces you to use semantic markup, where as Transitional is a bit more flexible and still allows you to use legacy presentational elements like <font>
and <center>
.
People still use Transitional to maintain support older markup, but it doesn't make any difference to SEO. Strict is considered better for encouraging more accessible XHTML and better separation of content and presentation.
I don't think there is any impact of using one or the other : what really matters is content, not (X)HTML (Strict/Transitional).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With