how to incorporate multiple stylesheet in html on sololearn ? | SoloLearn: Learn to code for FREE!

+5

how to incorporate multiple stylesheet in html on sololearn ?

I want to add multiple style sheet in html code on solo learn ....can someone help me...

5/27/2020 5:45:06 AM

Requested Page Not Found

5 Answers

New Answer

+2

Add inside head using link tag like <link rel = "stylesheet" href = "file1.css"> <link rel = "stylesheet" href = "file2.css">

+1

💞𝐒𝐨𝐦𝐲𝐚💞 This is live application which doesn't provide us to read and write file so we can't do here. If you want to apply CSS on different case then you have to write JS code. We can apply CSS using Javascript or JQuery also. For example $("#abc").css("color", "red"); or document.getElementById("abc").style.color = "red"

0

AJ #Infinity Love but on solo learn how i distinguish file1 and file2 it has only 3 options one 4 html two 4 css three 4 javascript...

0

💞𝐒𝐨𝐦𝐲𝐚💞 Your file should be external. On Sololearn you can write all CSS inside CSS tab only.

0

AJ #Infinity Love but i want to add two different css file...for two different conditions