Please how do i compile my html, css code in notepad++ | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Please how do i compile my html, css code in notepad++

to join the 2 codes to make up a web please

16th Aug 2018, 10:25 PM
Viktor “STONE” Lucaz
Viktor “STONE” Lucaz - avatar
8 Answers
+ 5
First you have to include <link rel="stylesheet" href="filename.css"> in the HTML file, where filename is the name of your CSS file. Remember to set the respective languages in the language menu in Notepad++. If you have finished this, in the HTML file, click run->Launch in Chrome...
16th Aug 2018, 10:36 PM
Ledio Deda
Ledio Deda - avatar
+ 4
Tricky question though. 1.Are you looking for a way of linking your CSS code to your html document ? Or 2.Are you looking for how to preview your already written code ?
16th Aug 2018, 10:38 PM
Dlite
Dlite - avatar
+ 4
Pretty easy, In your html code, type the following code into your head or body tag. <link rel="stylesheet" href="path/to/your/cssDocument.css" /> Note:: You have to replace "path/to/your/cssDocument.css" with the actual path to your CSS document.
16th Aug 2018, 10:42 PM
Dlite
Dlite - avatar
+ 3
Welcomed✌
16th Aug 2018, 10:41 PM
Ledio Deda
Ledio Deda - avatar
+ 2
thanks man it worked
16th Aug 2018, 10:40 PM
Viktor “STONE” Lucaz
Viktor “STONE” Lucaz - avatar
+ 1
link
16th Aug 2018, 10:39 PM
Viktor “STONE” Lucaz
Viktor “STONE” Lucaz - avatar
+ 1
its simple enough. just type <link rel="stylesheet" href="filename.css"> hope it helps
23rd Aug 2018, 10:07 PM
Tony Frank
Tony Frank - avatar
0
Hi
17th Aug 2018, 3:06 AM
Soo Heyon