Or is it just a personal preference thing? What I’m getting at is, is there a specific benefit to using either method?
<link href="main.css" rel="stylesheet" type="text/css">
versus
<style type="text/css">
@import url('main.css');
</style>
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
According to Yahoo’s Best Practices for Speeding Up Your Web Site, always use
<link>instead of@import. More detailed information is available in this blog post.Using
<link>allows the browser to open additional connections, thereby decreasing load times.