+ 1

How can i reference css file to body of html on sololearn plateform??

5th Aug 2018, 4:19 PM
Sandeep Kumar Suthar
6 odpowiedzi
+ 1
Well, bgcolor is a deprecated attribute in HTML5. https://www.w3schools.com/tags/att_body_bgcolor.asp You can instead use: body { background-color: blue; } instead. Since the CSS file is automatically linked to the HTML file, you don't need to explicitly link your stylesheet file through a style tag.
5th Aug 2018, 9:06 PM
Janning⭐
Janning⭐ - avatar
+ 1
i have used style tag but href="....??" what to put the path of the css file to be refrenced
5th Aug 2018, 4:36 PM
Sandeep Kumar Suthar
+ 1
ooh that means un this sololearn plateform no need of style tag
5th Aug 2018, 4:43 PM
Sandeep Kumar Suthar
+ 1
i can write simply <body bgcolor:"blue">
5th Aug 2018, 4:44 PM
Sandeep Kumar Suthar
+ 1
Anytime! 😊👍
6th Aug 2018, 9:19 PM
Janning⭐
Janning⭐ - avatar
0
and mention it it in the css section
5th Aug 2018, 4:46 PM
Sandeep Kumar Suthar