After creating a stylesheet can you use it for for different html files? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

After creating a stylesheet can you use it for for different html files?

12th May 2020, 5:55 PM
KWASI NYARKO
KWASI NYARKO - avatar
4 Answers
+ 2
Yes, you can use the same stylesheet file across multiple html files. make sure you import it in your html files you want
12th May 2020, 6:12 PM
Sebastian Pacurar
Sebastian Pacurar - avatar
+ 2
Following up on the above comment. It’s better to use the same stylesheet for multiple webpages if possible. That way if you need to change the look or functionality of multiple pages, you only have to change the one stylesheet and not every html file.
12th May 2020, 6:20 PM
Runcible
+ 1
You definitely can! Just keep in mind that you must link them in each new HTML file, and any changes you make will affect all of the HTML pages.
12th May 2020, 8:42 PM
Nikita Johnson
Nikita Johnson - avatar
0
Yes
14th May 2020, 5:03 PM
Md. Aktaruzzaman Talukdar
Md. Aktaruzzaman Talukdar - avatar