It is called pseudo-selector and used to select all the elements when the user move mouse over the elements. It can be used on all the element. A <!DOCTYPE html> element must be declared in the document to see the working of this selector in all the elements.
Supported Browsers: The browser supported by a:hover selector are listed below:
- Apple Safari 3.1
- Google Chrome 4.0
- Firefox 2.0
- Opera 9.6
- Internet Explorer 7.0
- What is the difference between display: inline and display: inline-block in CSS?
- HTML | Block and Inline Elements
- How to remove the space between inline-block elements?
- Displaying inline and multiline blocks of code using Bootstrap
- HTML | DOM write() Method
- How to write a Pseudo Code?
- CSS | :read-write Selector
- How to write :hover condition for a:before and a:after in CSS?
- Step by Step guide to Write your own WordPress Template
- Bootstrap 4 | Input Groups
- PHP | get_headers() Function
- Bootstrap 4 | Custom Forms
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.