+ 4
How can I join html and css?
How can I join html and css in notepad++?
7 Réponses
+ 16
<link href="CSS.css" rel="stylesheet">
+ 16
@Robin (hide that cookie from your profile, you're in danger!…… ^_^)
+ 4
you hav 3 ways
1 extrinal
2 internal
3 inline
---------------------------------
1-- external
put code of css in exetrnal file with extension ".css"
and refer to it in html file at <head> area with like this line (link rel="stylesheet" href="style.css "type="text/css"> )
-----------------------------------
2 -- internal
put code of css in <head> area like this:
<style type="text/css">
Add style code here
</style>
--------------------------------------
3-- inline
put code inside tag like:
<p style="color:green;">
This is a green text
</p>
+ 3
you can join them with <link href="style.css" rel="stylesheet" type="text/css">
Into href you put the name that you called the css file. it is like a relationsheep that you do between html and css.
+ 3
like in every other text editor:
by using an extra file(src=style.css) or writing it inside the html file(<style>...</style>)
+ 2
thanks thats is a big help
+ 1
<link href="CSS.css" rel="stylesheet">