Resource Path in HTML

Discussion in 'HTML' started by Roy M, May 29, 2009.

  1. Roy M

    Roy M Guest

    For example..

    1.

    <link rel="stylesheet" href="/style.css" type="text/css"
    media="screen" />

    2.

    <link rel="stylesheet" href="style.css" type="text/css"
    media="screen" />


    Which one you perferred?
     
    Roy M, May 29, 2009
    #1
    1. Advertising

  2. Roy M

    Lars Eighner Guest

    In our last episode,
    <>, the
    lovely and talented Roy M broadcast on alt.html:

    > For example..


    > 1.


    ><link rel="stylesheet" href="/style.css" type="text/css"
    > media="screen" />


    > 2.


    ><link rel="stylesheet" href="style.css" type="text/css"
    > media="screen" />



    > Which one you perferred?


    The one that is correct.


    --
    Lars Eighner <http://larseighner.com/>
    129 days since Rick Warren prayed over Bush's third term.
    Obama: No hope, no change, more of the same. Yes, he can, but no, he won't.
     
    Lars Eighner, May 29, 2009
    #2
    1. Advertising

  3. Roy M

    dorayme Guest

    In article
    <>,
    Roy M <> wrote:

    > For example..
    >
    > 1.
    >
    > <link rel="stylesheet" href="/style.css" type="text/css"
    > media="screen" />
    >
    > 2.
    >
    > <link rel="stylesheet" href="style.css" type="text/css"
    > media="screen" />
    >
    >
    > Which one do you prefer?


    There are no hard and fast rules for where you should put your style
    sheets.

    --
    dorayme
     
    dorayme, May 30, 2009
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Lloyd Dupont

    getting a path to a resource

    Lloyd Dupont, Sep 22, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    385
    Lloyd Dupont
    Sep 23, 2004
  2. KQ
    Replies:
    1
    Views:
    453
  3. Dirc Khan-Evans
    Replies:
    1
    Views:
    902
    Karl Seguin
    Oct 17, 2005
  4. avishosh
    Replies:
    2
    Views:
    10,580
    avishosh
    Aug 8, 2004
  5. Heinrich Moser
    Replies:
    1
    Views:
    461
    Heinrich Moser
    Mar 27, 2008
Loading...

Share This Page