<script
    src="https://example.com/example-framework.js"
    crossorigin="anonymous"></script>
<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <title>rel=preload Example Source</title>

        <!-- Specifies anonymous CORS mode for the web font preload request. -->
        <link
            rel="preload"
            href="https://another-domain.com/fonts/font.woff2"
            as="font"
            type="font/woff2"
            crossorigin="anonymous">

        <!-- Links a stylesheet that contains web font styles -->
        <link rel="stylesheet" href="webfont.css">
    </head>
    <body>
        <!-- Applies the preloaded web font directly to the text -->
        <h1>rel=preload Example Source</h1>

        <!-- Additional content -->
    </body>
</html>