How can I join html and css? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

How can I join html and css?

How can I join html and css in notepad++?

12th Feb 2017, 12:36 PM
Stern Ritter
Stern Ritter - avatar
7 Answers
+ 16
<link href="CSS.css" rel="stylesheet">
12th Feb 2017, 1:30 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 16
@Robin (hide that cookie from your profile, you're in danger!…… ^_^)
12th Feb 2017, 1:59 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 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>
13th Feb 2017, 1:26 PM
Abdulhameed Alhababi
Abdulhameed Alhababi - avatar
+ 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.
12th Feb 2017, 1:53 PM
Samuele Sacchetti
Samuele Sacchetti - avatar
+ 3
like in every other text editor: by using an extra file(src=style.css) or writing it inside the html file(<style>...</style>)
12th Feb 2017, 1:55 PM
Robin Deckert
Robin Deckert - avatar
+ 2
thanks thats is a big help
19th Feb 2017, 8:59 AM
Stern Ritter
Stern Ritter - avatar
+ 1
<link href="CSS.css" rel="stylesheet">
14th Feb 2017, 5:31 AM
Black X
Black X - avatar