Home >Web Front-end >HTML Tutorial >The difference between link and @import_html/css_WEB-ITnose

The difference between link and @import_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:41:00995browse

1. Link belongs to the XHTML tag, and @import is provided by css.

2.link is loaded when the page is loaded, and the css referenced by @import waits until the page is loaded.

3.@import is only available in IE5 and above, and the link has no compatibility issues.

4. The link style has a higher weight than @import.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn