Skip to main content

HTML Guide

Free site validation

Find out what web pages on your sites are affected by HTML issues.

The “language” attribute on the “script” element is obsolete. You can safely omit it.

The <script> tag allows authors to include dynamic scripts and data blocks in their documents. This tag accepts two optional attributes, type (which is unnecessary if it’s JavaScript, as that’s the default), and src to indicate the URL of the external script to use.

The language attribute is now obsolete and should not be used.

Learn more:

Related W3C validator issues