简体   繁体   中英

Css file interaction in validation

I'm working with the w3c's css validator. The validator will take an html page & check all it's inline, embedded & linked CSS.

My question is - is it safe to validate all my css separately (validate the inline / embedded css without the linked css being available etc)?

To ask this another way - is there anything the validator can error check better when all the elements of the css for a page are validated together?

I dont think there is anything that the validator could say better with all the files at once, except maybe that some of your classes or Id's in your html do not have styles in your CSS, but thats perfectly valid anyway. On a side note, why are you so worried that your page is perfectly valid?

W3C验证器仅检查标记的语法,因此可以单独检查CSS规则。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM