User Interface - Cursor: pointer
Cursor: pointer
If theh value of the cursor property is set to pointer, the cursor will look like a pointer, which indicates a link.
Here is the css file (say cp.css):
.c1 {cursor: pointer; cursor: hand;}
Here is the html file (say css-cursors-pointer.htm):
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>example of external CSS</title>
<link href="cp.css" rel="stylesheet" type="text/css" />
</head>
<body>
<p><a href="test.htm" class="c1">Click here to go learn more about CSS.</a></p>
<p> </p>
</body>
</html>
Here is how it will look:
Previous: User Interface - Cursor: default
Next:
User Interface - Cursor: move
It will be nice if you may share this link in any developer community or anywhere else, from where other developers may find this content. Thanks.
https://www.w3resource.com/css/user-interface/pointer.php
- Weekly Trends and Language Statistics
- Weekly Trends and Language Statistics