+ 2

How to link css file with html?

I'm begginer in web designing. so I want to create css content in different file from html coding

30th May 2017, 4:26 PM
Atul Bansal
Atul Bansal - avatar
6 ответов
+ 2
The answers are already telling you where to put the code. (Inside the <head> tag of HTML file). You do not need to mentions anything in the CSS side. EDITED: like this: <html> <head> <title>Page title</title> <link href='path_to_css_file' rel='stylesheet'> <----- here </head> ....
30th May 2017, 4:35 PM
Ulisses Cruz
Ulisses Cruz - avatar
+ 7
<link rel="stylesheet" type="text/css" href="YourSexyStyleFile.css"> add inside <head>
30th May 2017, 4:30 PM
Yanothai Chaitawat
Yanothai Chaitawat - avatar
+ 4
Yep~ =w=
30th May 2017, 4:36 PM
Yanothai Chaitawat
Yanothai Chaitawat - avatar
+ 2
in the HTML file <head> tag put this: <link href='path_to_css_file.css' rel='stylesheet'> substitute 'path_to_css_file.css' to the path to you CSS file.
30th May 2017, 4:30 PM
Ulisses Cruz
Ulisses Cruz - avatar
+ 1
thank #veryhard #ulisses Cruz problem has been solved
30th May 2017, 5:37 PM
Atul Bansal
Atul Bansal - avatar
0
thanks for responding but I want to know complete description about where to put this link in html file and should I need to mention anything in css too
30th May 2017, 4:33 PM
Atul Bansal
Atul Bansal - avatar