+ 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
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>
....
+ 7
<link rel="stylesheet" type="text/css" href="YourSexyStyleFile.css">
add inside <head>
+ 4
Yep~ =w=
+ 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.
+ 1
thank #veryhard #ulisses Cruz problem has been solved
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