XHTML 1.0 Transitional vs XHTML 1.0 Strict?

∥☆過路亽.° 提交于 2019-12-04 05:52:42

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.

In terms of SEO, no difference whatsoever.

I don't think there is any impact of using one or the other : what really matters is content, not (X)HTML (Strict/Transitional).

Echo comments that shouldn't make a difference.

In my opinion its better to pick one and make sure your site validates against it.

Also note that can make ASP.NET spit out strict by the following in the web.config

<system.web> <xhtmlConformance mode="Strict" /> </system.web>

This is a good article explaining differences: http://24ways.org/2005/transitional-vs-strict-markup

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!