Pseudo-class element

Last Updated : May 15, 2025 |

A pseudo-class defines a special state of an element. Avaya Co-Browsing Snap-in supports state synchronization of the following pseudo-class elements on web pages:

  • Selection: To make the selected text red with a yellow background.

  • Active: To select and style an active link.

  • Target: To match an element that is the target of the referring Uniform Resource Identifier (URI).

  • Valid: To select and style an element if the value of the input element is valid.

  • Hover: To select a particular element with a pointing device when the user hovers with a cursor or a mouse pointer.

For more information about pseudo-class elements, see the Client SDK guide in DevConnect.