HTML tag requests
Cross-origin request from <link> tag
Summary
Using a <link>
tag triggers a cross-origin request for a CSS stylesheet.
The browser allows these requests by default, without requiring CORS.
Instructions
- Hit green button below and see text styles applied from dynamically loaded stylesheet
- Observe difference between source and request origins, confirming cross-origin request
styled by link tag
View source on GitHub | Created by Tom Gregory