External CSS

Discussion in 'HTML and CSS' started by Newcoder8888, Mar 24, 2020.

  1. Newcoder8888

    Newcoder8888

    Joined:
    Mar 20, 2020
    Messages:
    3
    Likes Received:
    0
    Does anyone know why my css is not linking? Here is the code:

    <link href="css.css" rel="stylesheets" type="text/css">

    The file is called css.css( will change that when I have figured out how to link).

    Is it something to do with my file path?

    C:\Program Files (x86)\Notepad++\First website

    Thanks in advance
     
    Newcoder8888, Mar 24, 2020
    #1
    1. Advertisements

  2. Newcoder8888

    sunfighter

    Joined:
    Nov 27, 2019
    Messages:
    82
    Likes Received:
    10
    Check to see if css.css is in the same folder as the HTML page that is calling it and not in a sub-folder or an entirely different one.
     
    sunfighter, Mar 25, 2020
    #2
    1. Advertisements

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.