cursor
The cursor
attribute specifies the mouse cursor displayed when the mouse pointer is over an element.
This attribute behaves exactly like the CSS cursor
property except that if the browser supports the <cursor>
element, you should be able to use it with the <FuncIRI> notation.
As a presentation attribute, it also can be used as a property directly inside a CSS stylesheet, see CSS cursor
for further information.
Usage context
Categories | Presentation attribute |
---|---|
Value | [[<FuncIRI>,]* [ auto | crosshair | default | pointer | move | e-resize | ne-resize | nw-resize | n-resize | se-resize | sw-resize | s-resize | w-resize| text | wait | help ]] | inherit |
Animatable | Yes |
Normative document | SVG 1.1 (2nd Edition) |
Elements
The following elements can use the cursor
attribute
Specifications
Specification |
---|
CSS Basic User Interface Module Level 4 # cursor |
Browser compatibility
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
cursor |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- See implementation notes.
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
See also
- CSS
cursor
property