1. Home
  2. Computing & Technology
  3. Web Design / HTML

cursor

By , About.com Guide

cursor Description:

The cursor property defines the type of cursor to be displayed for the pointing device.

cursor in CSS Versions:
cursor Syntax:

cursor: [ [<uri> ,]* [ auto | crosshair | default | pointer | move | e-resize | ne-resize | nw-resize | n-resize | se-resize | sw-resize | s-resize | w-resize | text | wait | help | progress ] ] | inherit

  • <uri>
    Defines the resource to be used by the user agent. There can be multiple URLs listed, separated by commas
  • auto
    The user agent determines the cursor.
  • crosshair
    Display a simple crosshair (looks like a +-sign).
  • default
    Display the platform-dependant default cursor, usually an arrow.
  • pointer
    Display a pointer that indicates a link.
  • move
    Display a cursor that indicates something should be moved.
  • e-resize, ne-resize, nw-resize, n-resize, se-resize, sw-resize, s-resize, w-resize
    Display a cursor indicating an edge to be moved.
  • text
    Display a cursor for text to be selected, usually an I-beam.
  • wait
    Display a wait cursor, usually a watch or hourglass.
  • help
    Display a help cursor, usually a question mark or balloon.
  • progress
    Display a progress indicator, usually a spinning ball or hourglass.
  • inherit
    The element should have the same cursor setting as the parent.
cursor Initial Value:

auto

cursor Applies To

All elements.

cursor Inheritance

This property is inherited.

cursor Browser Support:
cursor media type:
  • Interactive
  • Visual
cursor Examples:

Change the cursor to a pointer

<p style="cursor : pointer;">
When you put your mouse on this paragraph, the cursor will change to a pointer.
</p>
cursor Special Notes:
  • Use the cursor to help your readers understand what's going on with your site.

More cursor Information

Return to the Style Library

Explore Web Design / HTML
About.com Special Features

The Best Web Trends of the Decade

A look back at the best innovations, ideas and technologies over the last 10 years, More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. Web Design / HTML
  4. CSS
  5. Style Properties
  6. CSS Style Property: cursor>

©2009 About.com, a part of The New York Times Company.

All rights reserved.