Deprecated in HTML5. Do not use.

<script for=””>

Attribute of
<script> HTML Tag

The for attribute of <script> was only supported by Internet Explorer, and is therefore non-standard. We do not recommend its use, because your code will not validate and likely will not function as you intended.

Claire is seasoned technical writer, editor and HTML enthusiast.