开发者

I've seen many CSS compatibility list for browsers, Is there any list for X/HTML tag? or all browsers supports all tags?

开发者 https://www.devze.com 2022-12-17 22:00 出处:网络
I\'ve seen many CSS compatibility list for brows开发者_JAVA技巧ers, Is there any list for X/HTML tag? or all browsers supports all tags?

I've seen many CSS compatibility list for brows开发者_JAVA技巧ers, Is there any list for X/HTML tag? or all browsers supports all tags?

Is there any list for all major browser's supported HTML, XHTML and HTML 5 supported TAGS?


That purely depends on the doctype used. If you define a doctype which is unknown to the webbrowser, then it can in theory just download the DTD from the specified URL itselves and apply it on the elements.

For standard DTD's you can just check here at the w3schools (X)HTML reference which (X)HTML elements are supported.

If you define no doctype, the browser will trigger to quirksmode (and you don't want to have that).


The validity of the tags you use will depend on your doctype and the browser/version you're using.

  • XHTML 1.0 Strict Reference - http://www.december.com/html/x1/
  • XHTML 1.0 Transitional Reference - http://www.december.com/html/x1tran/
  • HTML 4.01 Transitional Reference - http://www.december.com/html/4loose/
  • HTML 4.01 Strict Reference - http://www.december.com/html/4/

--

  • HTML 4 Spec - http://www.w3.org/TR/html4/
  • HTML 4.01 Spec - http://www.w3.org/TR/html401/
  • HTML 5 Spec - http://www.w3.org/TR/html5/

See Also:

  • Comparison of Layout Engines (HTML5)
0

精彩评论

暂无评论...
验证码 换一张
取 消