difference In addition to referencing style files, link can also refer to"/> difference In addition to referencing style files, link can also refer to">
Home >Web Front-end >HTML Tutorial >What are the ways to import styles?
link and import
"index.css?1.1.11" rel="stylesheet">
< link rel="search" type="application/opensearchdescription+xml" href="/content-search.xml" title="Baidu Search" />
@import "style.css?1.1.11" //Windows IE4/ NS4, Macintosh IE4/NS4 does not recognizeIt is recommended to use @import url(index.css);
@import url(style.css) //Windows NS4, Macintosh NS4 does not recognize
@import url('style.css') //Windows NS4, Mac OS X IE5, Macintosh IE4/IE5/NS4 does not recognize
@import url("style.css?1.1.11" ) //Windows NS4, Macintosh NS4 does not recognize
The above is the detailed content of What are the ways to import styles?. For more information, please follow other related articles on the PHP Chinese website!