tag HTML","item": "https://pnldev.com/en/reference/html/script-tag"}]} <script></script> tag HTML - PNLdev

Example

A simple <script> tag that open PNLdev.com link:

Laboratory

description & Usage

We use the <script> tag to load JavaScript language codes in html documents.

Browser compatibility and Support

# Chrome Edge Firefox Safari Opera
<script>

Attributes

Attributes Values Description
async
async
en
defer
defer
en
src
URL
en
type
script type
en

Global Attributes

The script tag supports the HTML Global Attributes.

Event Attributes

The script tag supports the HTML Event Attributes.

Default CSS

Most browsers will display the script tag with the following default style: