HTML Standard attribute: crossorigin
[this page | pdf | back links]
The HTML crossorigin attribute indicates how
the element handles cross-origin requests. It can apply to <img> and <link> elements
(and some other elements for some browsers).
Valid attribute
values (when used with <img> and <link> elements)
include:
Value
|
Description
|
|
(default), i.e. blank.
CORS will not be used at all.
|
anonymous
|
CORS requests for
element will not have credentials flag set, i.e. no user credentials will be
exchanged via e.g. cookies, client-side SSL certificates or HTTP
authentication
|
use-credentials
|
CORS requests for
element will have credentials flag set, i.e. request will provide credentials
|
NAVIGATION LINKS
Contents | Prev | Next | HTML Attributes