Again while typing I read this question but that's a different one...and that too is not solved yet, as the person who's answer is marked as correct, says this in the end
I don't know direct answer to your question, but I'm pretty curious about tag, too. Finding answer would probably include some web archives digging.
So the question is quiet simple, why are we using src
attribute for <script>
tag but href
for a <link>
tag, now that confuses me many times when am including stylesheets and scripts...why it can't be same? any specific reason for this?
For example
<script href="#"></script>
<link href="#" />
Or
<script src="#"></script>
<link src="#" />