Linking HTML to CSS file -


i have problem linking html file "index.html" css file "stylesheet.css". i've pasted same code in codeacademy , w3schools in, none of them work. i'm using notepad++ - problem software? i've attached first section of code. both saved in same folder.

<head>     <link type="text/css" rel="stylesheet" href="stylesheet.css">     <title>fred's present</title> </head> 

thanks!

<head> <link rel="stylesheet" type="text/css" href="stylesheet.css"> <title>fred's present</title> </head> 

your code absolutely fine...you must have kept css file in other folder. try keep both files in same folder linking can work properly.


Comments

Popular posts from this blog

python - jinja2: TemplateSyntaxError: expected token ',', got 'string' -

Qt4: how to send QString inside a struct via QSharedMemory -

node.js - NodeJS remote terminal to Dropbear OpenWRT-Server -