我可以使用CSS3与XHTML 1.0? [英] Can I use CSS3 with XHTML 1.0?

查看:104
本文介绍了我可以使用CSS3与XHTML 1.0?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以使用CSS3属性与XHTML,或只与HTML5网页?



HTML版本和CSS之间有什么关系,还是完全无动于衷? / p>

感谢。

解决方案

如果浏览器支持CSS3和XHTML 1.0,您可以同时使用。



这两个标准没有紧密相连,这是什么版本的CSS使用与什么版本的(X)HTML无关



这是将内容(XHTML)与显示(CSS)分离的好处之一。


Can I use CSS3 properties with XHTML, or only with HTML5 web pages?

Is there any relation between HTML version and CSS, or is it totally indifferent?

Thanks.

解决方案

If the browser support CSS3 and XHTML 1.0, you can use both.

The two standards are not tightly linked to each other, that is what version of CSS you use has no relation to what version of (X)HTML you use.

This is one of the benefits of the separation of content (XHTML) from display (CSS).

这篇关于我可以使用CSS3与XHTML 1.0?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆