← Back to Tag Glossary

<script>

Structure

Embeds client-side javascript code or links an external javascript file.

Common Attributes

  • src Configures the element's custom src parameter.
  • defer Configures the element's custom defer parameter.
  • async Configures the element's custom async parameter.
  • type Configures the element's custom type parameter.
interactive-example.html
Live Preview