Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis+ 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 Resposta
+ 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.