Style Object
The cursor property sets or returns the type of cursor to display for the mouse pointer.
Set the cursor property:
Return the cursor property:
| Value | Description |
|---|---|
| auto | Browser default cursor (often an arrow). This is default |
| crosshair | Crosshair cursor |
| default | Platform-depended default cursor (often an arrow) |
| e-resize | East arrows. Indicates that an element is resizable |
| help | Arrow with question mark, indicating that help is available |
| move | Crossed arrows, indicating that something can be moved |
| n-resize | North arrows. Indicates that an element is resizable |
| ne-resize | North-east arrows. Indicates that an element is resizable |
| nw-resize | North-west. Indicates that an element is resizable |
| pointer | Normal hand |
| s-resize | South arrows. Indicates that an element is resizable |
| se-resize | South-east arrows. Indicates that an element is resizable |
| sw-resize | South-west arrows. Indicates that an element is resizable |
| text | The cursor indicates text |
| url | The URL of a cursor file to be used. Tip: Always define a generic cursor at the end of the list in case none of the url-defined cursors work |
| w-resize | West arrows. Indicates that an element is resizable |
| wait | Hourglass or watch, indicating that the program is busy |
![]()
The cursor property is supported in all major browsers.
Change the cursor:
More cursors
Show all available cursors.
Style Object
Your message has been sent to W3Schools.