Here is a link to a .js file on another server. Here we use both the integrity and crossorigin attributes.
Example:
HTML
<script
type="text/javascript"
src="my_script.js"
crossorigin="anonymous"
></script>
Type: | Html |
Category: | Web Tutorial |
Sub Category: | HTML Tag |
Uploaded by: | Admin |