+ 1

How to link css here?

I'm a begenner, I'm not geting any link of css file here. Please help me telling how can I use css and js with html.🥰

2nd Sep 2022, 1:50 AM
Topical Media
Topical Media - avatar
6 Respostas
+ 5
Stylesheets are linked using <link> tag https://www.w3docs.com/learn-html/html-link-tag.html But for it to work, the stylesheet file must be stored on the cloud. No way local files are usable in SoloLearn app or web.
2nd Sep 2022, 2:07 AM
Ipang
+ 5
>> You can host your css or js file from other sources and add them by using <link> and < script > tag. >> You can put your css and js in <style> and < script > tags respectively. >> In sololearn you can directly add your css or js files in their specific tabs. For more info ℹ️: [https://betterprogramming.pub/link-css-and-js-files-with-html-file-f848d00b42e8]↗️
2nd Sep 2022, 5:47 AM
Sujal
Sujal - avatar
+ 3
You can paste the entire css script inside the <style> tag inside the <head>
2nd Sep 2022, 5:47 AM
Harsha S
Harsha S - avatar
+ 2
You can paste your CSS into the CSS Tab. You can paste your JS into the JS tab.
2nd Sep 2022, 6:37 PM
Chris Coder
Chris Coder - avatar
+ 1
If you to link an external css file to html please link to that css file in html head tag and write the following link:? <link rel="stylesheet" href="style.css"> Note: in href the style.css is the name of that css file that you gave tha name to that external css file.
2nd Sep 2022, 2:01 PM
Ahmad Zubair Afghanmal
0
<link rel="stylesheet" //if css file is in the same folder with html file// href=nameofthefile.css >
3rd Sep 2022, 12:43 PM
Temur Qodirov
Temur Qodirov - avatar