0

How to connect my html to my css file?

29th Jul 2017, 2:39 AM
Mhel Xavier
Mhel Xavier - avatar
2 Answers
+ 4
Right is to connect YourCSSfile to HTML-file. Way is up. Remember only that <link>-element has three attributes: rel, type and href: <head> <link rel="stylesheet" href="YourCSSfileName.css" type="text/css" /> </head>
29th Jul 2017, 7:43 AM
benka
benka - avatar
+ 2
There is a simple way: <head> . . . <link rel="stylesheet" href="filename.css" /> . . . </head> Replace filename.css with your own.
29th Jul 2017, 2:51 AM
$machitgarha
$machitgarha - avatar