1. Computing & Technology

Discuss in my forum

Jennifer Kyrnin

Why use @import or link to include styles in your documents

By , About.com GuideNovember 20, 2007

Follow me on:

CSS and external style sheets. I often stress the importance of using external style sheets in your Web pages, because they help your site load more quickly and help keep your site more consistent. And there are two ways to include an external style sheet in your Web pages. But how do you choose between @import and <link>? Many people used @import to hide styles from Netscape 4, but that browser is hardly used now, so is there any reason to use one or the other? Or perhaps we should use both methods.
Comments
No comments yet.  Leave a Comment
Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

©2012 About.com. All rights reserved.

A part of The New York Times Company.