Leaving out type="text/javascript" language="javascript"
- by coffeeaddict
Most of the script tags I create, I always include type="text/javascript" language="javascript" in the tag. My boss however does not. Sometimes he excludes both, sometimes just has language=javascript even without the quotes
Now we have not had an issue in any of the major browsers with his tags. I'm talking about all versions of IE, FF, Safari, and Chrome.
Personally I feel it's laziness and just totally improper and bad coding practice to leave stuff out like this even if it works without it.
Anyone know if both should be included or just one or is it ok to leave both out in ASP.NET?