+ 1

How to add css and javascript to html while using notepad?

25th Jul 2020, 6:21 AM
Hari Krishnan
Hari Krishnan - avatar
3 Respuestas
+ 3
Css: <link rel="stylesheet" href="styles.css"> Js: <script src="myscripts.js"></script> Make sure that all files in same folder or mention the path if it is in another folder
25th Jul 2020, 7:03 AM
v@msi😉
v@msi😉 - avatar
+ 2
Use the style tag for CSS and script tag for JS. If you want to add an external css or js, use the <link> tag.
25th Jul 2020, 7:01 AM
Pranav Kalro
Pranav Kalro - avatar
25th Jul 2020, 7:06 AM
AKSHAY🇮🇳
AKSHAY🇮🇳 - avatar