I’ve been reading through a few tutorials about css, and I saw two different ways to state which css file should be used to style the page:
<style type='text/css'>@import url('style.css');</style>
and
<link rel='stylesheet' type='text/css' href='style.css' />
What’s the difference between them? Which one should I use?
There isn’t much difference unless you are using very old browsers (netscape 4.x and ie 3.x). You can read a complete lowdown on what each means here.