+ 1
How how to add external css to html file
Anyone to help me please, I’ve been trying to add an external css to my html on VSCode but I don’t seem to get it well. I’ll appreciate if I can get anyone to help me through step by step please.
1 Respuesta
+ 3
This should not only work with Visual Studio but anything else as well.
First find the directory of the file. If it is in the same directory of the html then use
<link rel=“stylesheet” href=“<stylesheetname>.css”>
Inside your header tag
If its in a directory (or multiple) use:
<link rel=“stylesheet” href=“<directory/stylesheet>.css”>
If you are using something else, like flask (python web framework) you may need to use something else to link it.