+ 10
How do you link css stylesheet with html in this app?
10 ответов
+ 5
you dont need to link it in sololearn, else on other platforms, you’ve gotta do it on other platforms
+ 6
Samuel Nolen I'm not certain if there is anything like <css> but if you wish to add your CSS code to an HTML file, simply do these:
1. Type your css code in a text editor and save it with the .css extension.
2. Go to the <head> section of your HTML file (code) and insert <link rel="stylesheet" href="path to your css file" />
For example if I save my CSS code with design.css in the same folder where my HTML file is, I'll make it active in my HTML file by typing <link rel="stylesheet" href="design.css" /> in the <head> section.
+ 5
In code playground, for web code there are separate html, css an JS tabs/windows.
+ 4
You don't need to link css just write it in web code, unless your using a different online source then u will have to use link to bring it together.
+ 3
Thank you guys
+ 2
There are two ways. Either you use the style tag in the html editor, or just write your CSS in the CSS tag.
+ 2
Sam you create a href link
+ 1
Precious, that helps tremendously. The course goes into href but not too much about linking css and html. And it would be the same for JS right?
0
So if I use Notepade++. To bring in my CSS I can either create a <css> tag or create a href tag to link them?
0
Ooh okay! Awesome, thanks