cursor
The cursor
attribute specifies the mouse cursor displayed when the mouse pointer is over an element.
Note:
As a presentation attribute, cursor
also has a CSS property counterpart: cursor
. When both are specified, the CSS property takes priority.
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.
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
BCD tables only load in the browser
See also
- CSS
cursor
property