Horje

How to add HTML <script> crossorigin use-credentials Attribute

Here is a link to a .js file on another server. Here we use both the integrity and crossorigin attributes.

index.html
Example: HTML
 <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
crossorigin="use-credentials">
</script> 





Type:
html
Category:
Web Tutorial
Sub Category:
HTML Tag
Uploaded by:
Admin