Computer >> Computer tutorials >  >> Programming >> CSS

Cursor property of CSS


The cursor property of CSS allows you to specify the type of cursor that should be displayed to the user.

Example

<html>
   <head>
   </head>
   <body>
      <p>Move the mouse over the words and see the changes in cursor:</p>
      <div style = "cursor:auto">Auto</div>
      <div style = "cursor:crosshair">Crosshair</div>
      <div style = "cursor:default">Default</div>
   </body>
</html>