Is a link without the protocol valid XHTML? i.e. <a href=“//www.example.com/”>

陌路散爱 提交于 2019-12-01 04:50:37

Is it valid XHTML

Completely. XHTML doesn't care about the syntax of URIs. The href attribute is defined as containing CDATA.

valid in XHTML 1.1 Strict?

There is no such language.

XHTML 1.0 has Strict / Transitional / Frameset versions.

XHTML 1.1 is just XHTML 1.1. (And isn't blessed by rfc2854 for serving as text/html (which you need for IE < 9 support)).

And, is it supported by many/all browsers?

Yes. Support is fine.

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