Home > Blockchain >  Problems in Link tag
Problems in Link tag

Time:03-24

hii all i am currently learning external css so i used link tag which helps me out with external css. So basically guys the format of link tag which it shows to me in atom is

<link rel="stylesheet" href="/css/master.css">

so the first slash in href tells about root which i don't know in detail as have not yet studied js. So i have removed it. to get the external css correctly i have done all the correct steps regarding it but the problem arises here....

 <link rel="stylesheet" href="css/style.css">

( i applied this due to that i am not getting desired out put )..

So done some research and i came to point that by appling this layout of linktag i am getting desired out put

 <link rel="stylesheet" href="C:\Users\KUSH\Desktop\UDEMY WEEB DEVELOPMENT 2022\css\styles.css">

this is the path of my external css folder.

but my prof is using this

  • Related