JavaScript – page settings – 004.
This is an example of source code from an HTML page with basic settings:
1 2 3 4 | <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css" integrity="sha512-...==" crossorigin="anonymous" referrerpolicy="no-referrer" /> |
The integrity attribute is used to ensure that the resource is loaded – in this case, the CSS file from the external CDN. The attribute value contains a cryptographic hash of the file contents, which is checked against the downloaded… Read More »