Jump to content

HTML / CSS stylesheet


Giulia
 Share

Recommended Posts

hello!

 

I am new to coding and I am facing a problem creating an external style sheet.

I have a folder named "CINO", here I ave all my .html files

In this folder there is a folder, named "CSS". Here inside thereis the style.css file.

 

the coding goes like this, but in the browser there is no sign of a change. Could anyone help me to understand where I am overlooking a mistake?

 

 <!DOCTYPE html>
<html>
       <head>

           <link rel="stylesheet" href="/css/style.css" >
       <title>CINO</title>

   
        <h1>CINO</h1>
           <nav>
                <a href="About.html">About</a>
                <a href="Work.html">Work</a>
                <a href="Contact.html">Contact</a>
                <a href="Lab.html">Lab</a>

            </nav>

       </head>


<body>
visual strategies
</body>

</html>


///// CSS File

    body {

        font-family: Helvetica;
        font-size:1000px;
        line-height: 1.5;

        background-color: #d94958;
        color: #d99f01;
         margin: 40px auto 40px auto;
        width: 620px;
            }

    h1 {
        
     font-size: 24px;
     font-weight: 700;
    }

 

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...