+ 2

This question may sound stupid to some people. But im using notepad for my html. how can i link css to the text codes im writing

css

9th Jan 2018, 12:38 PM
Fernando Chikwe
Fernando Chikwe - avatar
6 odpowiedzi
+ 5
When saving, make sure that you put .html at the end of it. Hope this info's useful 😃 😃 😃 🐱
10th Jan 2018, 10:51 PM
Ethan ^ _ ^
Ethan ^ _ ^ - avatar
+ 5
You're welcome.
10th Jan 2018, 11:07 PM
Ethan ^ _ ^
Ethan ^ _ ^ - avatar
+ 4
You can embed it in to the html file with <style> tags, or you can get it from an outside source with <link rel="stylesheet" href="pathToSource.css">
9th Jan 2018, 12:45 PM
eRosz
eRosz - avatar
+ 3
If you're making an independant Cascade-Styling Sheet file, that's not embedded to the HTML file, use .css suffix.
11th Jan 2018, 7:13 AM
eRosz
eRosz - avatar
0
Why didn't I think of that? lol. thanks. what's about beginning a CSS file...I guess I'd have to use notepad too but save it in .CSS?
9th Jan 2018, 2:17 PM
Fernando Chikwe
Fernando Chikwe - avatar
0
thanks sure
10th Jan 2018, 11:06 PM
Fernando Chikwe
Fernando Chikwe - avatar