OneCompiler

How do you link an external CSS file or JavaScript file correctly?

..

1 Answer

1 month ago by

use <link> element in <head> section. set the rel attribute to "stylesheet". Specify the "type" attribute as "text/css". Use the "href" attribute to provide the path to the Css file