+ 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
5 ответов
+ 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
+ 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
+ 9
Thank you
+ 8
You mean both should be saved with same name though different extention?
+ 7
You can see the example here.
https://www.sololearn.com/learn/CSS/1079/