XHTML 2.0 Vs HTML 5 [duplicate]

时光怂恿深爱的人放手 提交于 2019-12-11 17:13:53

问题


Duplicate:

  • Why are (X)HTML 5 and XHTML 2 separate standards?
  • HTML 5 versus XHTML 1.0 Transitional?
  • HTML vs XHTML does it still matter?

There appears to be a unified opinion that the developments in HTML 5 and support by browser vendors of HTML 5, make the adoption of XHTML 1.0 with hopes of the day of XHTML 2.0 a bad choice.

For this reason I have decided for my most recent project to use a strict HTML 4.01 doctype, which has required me to look back at HTML conventions such as not using greater than characters at the end of self closing tags

The question is am I doing the right thing?


回答1:


XHTML 2 is going to die a quiet death, unused and unmourned.




回答2:


I'd stick with XHTML, HTML 5 supports most XHTML syntax (<br />, etc.)



来源:https://stackoverflow.com/questions/872336/xhtml-2-0-vs-html-5

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