Jump to content

Different Patterns Of Linking To Css


MagNet
 Share

Recommended Posts

Hi, In the 'head' part of HTML source code, is there any difference between the following two codes:

<style type="text/css" media="all">@import url(http://www.website.com/style_images/styles.css);</style>

.. and

<link rel="stylesheet" type="text/css" href="http://www.website.com/style_images/styles.css" />

Thanks

Link to comment
Share on other sites

Practically? No (though some really really old browers don't recognise the top method).

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...