In an article he posted a little while back, Alex Walker mentioned some trouble he had with
<script> tags when trying to add the
type attribute. The Google script Alex was embedding had no
type attribute is required. So if you care about validation, like Alex does, then you’ll want to add it.
But, what is the correct
type value. So here’s a hell of a situation, to produce a valid HTML or XHTML document with script tags, we are required to use a
type attribute, but to get it to function across all browsers we have to use an incorrect value.
Just goes to show, the web is really still only an alpha version. Can’t wait for the first beta!
iOS Developer, sometimes web developer and Technical Editor.
Your First Year in Code
Visual Studio Code: End-to-End Editing and Debugging Tools for Web Developers
Jump Start Git, 2nd Edition