Thursday 25 June 2020

30- Web Designing Question - 10


If we want to show an Arrow as cursor, then which value we will use?

(A) Arrow

(B) Default

(C)  Pointer

(D) Arr


Option B is the correct answer:

·        The default value is used to show an Arrow as a cursor.

·        The cursor is used to change the mouse cursor on specific elements like in especially which is useful in web apps or web pages where we need to perform different task like clicking or other activity

·        Some of the available cursors are as follows:

·        General Cursors: "auto", "default", "none".

·        Link Cursor: "pointer".

·        Scroll Cursor: "all-scroll".

·        Status Cursors: "context-menu", "help", "wait", "progress".

·        Selection Cursors: "crosshair", "cell", "text", "vertical-text".

·        Drag & Drop Cursors: "alias", "copy", "move", "no-drop", "not-allowed".

·        Zoom Cursors: "zoom-in", "zoom-out".

·        Grab Cursors: "grab", "grabbing".

·        Resizing Cursors: "n-resize", "e-resize", "ne-resize", "nw-resize", "s-resize", "se-resize","sw-resize",so on..

The general syntax for the cursor declaration is as follows:

cursor: value;

Let us consider an example for default valued cursor:

<span style="cursor: default"> Default</span>

 Now let us consider an example for customized cursor:

<span style="cursor: pointer"> Pointer </span>

 

No comments:

Post a Comment