0
I keep trying to link to a css file . Not working
File is named hue.css . How to link to my html?
2 Antworten
+ 4
Where?
In Sololearn you can't link CSS file directly.
+ 1
Sololearn's HTML code playground has 3 tabs. HTML CSS and JS which are linked. So you don't have to to worry about linking your stylesheet or scripts manually.
Simply type or paste your CSS in to the CSS tab and it will automatically apply to your HTML document.
If you are using a desktop sofware. You can put your hue.css document that contain your styles into the same folder as your html document. Then you may link your stylesheet by placing the link element into the head element like so.
<html>
<head>
<link rel="stylesheet" href="hue.css">
</head>
...
- Happy Coding