I have created a CSS file (style1.css
) which I am linking under the <head>
. The following generated HTML was made using a template, so basically I have no idea why the stylesheets are nested inside the <noscript>
tag (if somebody could explain it me why that would be appreciated).
<head>
<noscript>
<link rel="stylesheet" href="css/style1.css" />
</noscript>
</head>
Here are some issues that have been troubling me for a few days:
- When I edit the stylesheet, the changes are not reflected when I run my code.
- When I comment out this link, somehow my website is referring to the same CSS file - I don't know from where this is referring from. This is the only place where I have linked the CSS, but it still appears to be inheriting it from somewhere which I am unable to figure out.
- I tried this without
<noscript>
. In that case changes are reflected when I run the code but then again on editing it further, the changes aren't reflected. The crazy stuff is when I include it under<noscript>
again, editing is reflected but the changes that I have made in the first attempt are lost.
I fail to understand this weird behaviour, but I suspect that this has something to do with the <noscript>
tag in the HTML. I'm using JavaScript to run animations on my website, and JavaScript was enabled in my browser when I was testing.