+ 9

Using external CSS, how then will it link to my html file? I know the tag necessary for this but don't know how it works. Thanks

External CSS

28th Jan 2018, 5:45 PM
CHUKWUDUM OLUCHUKWU VICTOR
CHUKWUDUM OLUCHUKWU VICTOR - avatar
5 Respuestas
+ 10
Same name is not mandatory. For example, html: home.html css: style.css Then you'll have to link the css file in html's head tag. <head> <link rel = "stylesheet" href = "style.css"> </head> <body> <!-- body content goes here --> </body> The details of External CSS can be found on the 3rd lesson of the link provided by @Ferhat
28th Jan 2018, 6:19 PM
Shamima Yasmin
Shamima Yasmin - avatar
+ 9
Like for example : html- my project.html(with the link to CSS) CSS - my project.css Is this correct? Please I really don't know this
28th Jan 2018, 6:07 PM
CHUKWUDUM OLUCHUKWU VICTOR
CHUKWUDUM OLUCHUKWU VICTOR - avatar
+ 9
Thank you
28th Jan 2018, 6:22 PM
CHUKWUDUM OLUCHUKWU VICTOR
CHUKWUDUM OLUCHUKWU VICTOR - avatar
+ 8
You mean both should be saved with same name though different extention?
28th Jan 2018, 6:02 PM
CHUKWUDUM OLUCHUKWU VICTOR
CHUKWUDUM OLUCHUKWU VICTOR - avatar
+ 7
You can see the example here. https://www.sololearn.com/learn/CSS/1079/
28th Jan 2018, 5:51 PM
Ferhat Sevim
Ferhat Sevim - avatar