Deprecated in HTML5. Do not use.

<script language=””>

Disclosure: Your support helps keep the site running! We earn a referral fee for some of the services we recommend on this page. Learn more

Sharing is caring!

Attribute of
<script> HTML Tag

The language attribute of <script> was intended as a way to define the scripting language in use. This was never implemented correctly, as developers did not have a standard list of acceptable values for language. In HTML 5, you should specify this information using the type attribute instead.

Claire is seasoned technical writer, editor, and HTML enthusiast. She writes for HTML.com and runs a content agency, Red Robot Media.