0

In my previous coding class,I was taught that <style> can only be use in <head>.but on SOLOLEARN,it different thing entirelyhelp

4th Jul 2021, 2:39 PM
Ohida
Ohida - avatar
6 Respuestas
+ 2
Kunl_e Yes you can still use style tag inside head so what difference you got in Sololearn?
4th Jul 2021, 2:53 PM
A͢J
A͢J - avatar
+ 1
Kunl_e You can make external files for JavaScript and CSS and include in Html. This is not new. A little research on Google can clear your doubt.
4th Jul 2021, 4:07 PM
A͢J
A͢J - avatar
0
Done. I followed the upper link . Which led me to doc page.thanks
4th Jul 2021, 4:10 PM
Ohida
Ohida - avatar
0
<style> can be put in <head> or in <body> or even be linked with <link> as external css file... in sololearn code pkayground, the css tab is here to simulate external css file (but instead of being linked it is inserted inside <style> at <head>)
4th Jul 2021, 5:32 PM
visph
visph - avatar
- 1
I have to code the css and html separately. Haven't heard of it
4th Jul 2021, 3:04 PM
Ohida
Ohida - avatar
- 1
You can make .. external css files also Inside css like html,,,,, but in external css you can't be use style tag😀
6th Jul 2021, 10:24 AM
KashishAggarwal
KashishAggarwal - avatar