HTML Script Tags
MD
S
MarkdownHow to properly inject script tags in the HTML <header> </header>. The crossorigin attribute indicates whether the resource should be fetched with a CORS request. The integrity attribute is there so that the browser can use this to verify that the fetched resource has been delivered free of unexpected manipulation
<!DOCTYPE html>
<html>
<head>
<script src="https://code.jquery.com/jquery-3.2.1.min.js"
integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4="
crossorigin="anonymous"></script>
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.min.js"
integrity="sha384-Dziy8F2VlJQLMShA6FHWNul/veM9bCkRUaLqr199K94ntO5QUrLJBEbYegdSkkqX"
crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
</head>
</html>
Created on 2/5/2019