+ 10

How do you link css stylesheet with html in this app?

14th Feb 2019, 5:22 PM
Rorisang Dire
Rorisang Dire - avatar
10 odpowiedzi
+ 5
you dont need to link it in sololearn, else on other platforms, you’ve gotta do it on other platforms
16th Feb 2019, 3:03 AM
Potato Hacker
Potato Hacker - avatar
+ 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.
15th Feb 2019, 8:22 PM
Precious
Precious - avatar
+ 5
In code playground, for web code there are separate html, css an JS tabs/windows.
15th Feb 2019, 9:21 AM
Sonic
Sonic - avatar
+ 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.
15th Feb 2019, 8:44 AM
Markpeach96
Markpeach96 - avatar
+ 3
Thank you guys
15th Feb 2019, 9:25 AM
Rorisang Dire
Rorisang Dire - avatar
+ 2
There are two ways. Either you use the style tag in the html editor, or just write your CSS in the CSS tag.
14th Feb 2019, 5:44 PM
Bebida Roja
Bebida Roja - avatar
+ 2
Sam you create a href link
15th Feb 2019, 3:53 PM
Rorisang Dire
Rorisang Dire - avatar
+ 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?
15th Feb 2019, 8:28 PM
Samuel Nolen
Samuel Nolen - avatar
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?
15th Feb 2019, 3:33 PM
Samuel Nolen
Samuel Nolen - avatar
0
Ooh okay! Awesome, thanks
15th Feb 2019, 3:57 PM
Samuel Nolen
Samuel Nolen - avatar