September 2024
Intermediate to advanced
743 pages
27h 48m
English
The <script> element is available for embedding JavaScript code, which we covered in Chapter 4. In addition, another element allows you to explicitly define what should be displayed if the respective browser does not support JavaScript or if JavaScript has been disabled by the user.
|
Element |
Label |
Description |
|---|---|---|
|
<script> |
HTML Script Element |
Defines either an internal JavaScript (inline script) or a link to an external JavaScript file (external script). |
|
<noscript> |
HTML No Script Element |
Defines alternative content to be displayed by the browser when it does not support JavaScript or when JavaScript is disabled. |
Table B.9 Elements Related to Scripts
Read now
Unlock full access