How to merge the hrml and CSS files using notepad? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

How to merge the hrml and CSS files using notepad?

10th May 2019, 1:38 AM
Muthuraj R
Muthuraj R - avatar
2 Answers
+ 3
Use link tag inside head tag <link rel="stylesheet" type = "text/css" href="./style.css"> You can have a custom name for your css file. You can have relative path for your tag.... Don't often use absolute paths for linking files Files can be in different folders such a you can have html in html folder and css file in css folder.... You can access them by relative paths......
31st May 2019, 4:36 AM
Thanigai Velan
Thanigai Velan - avatar
+ 5
Ist of all put both files in same folder Add <link rel ="stylesheet" src= your file name.css> Inside the head tag
10th May 2019, 2:32 AM
Bug Slayer