Your email address will not be published. I hope you found this post fully informative and helpful. This method is used to make a webpage interactive and user friendly. This is all about changing the color of text when we hover on a title or a link.
#How to reset hyperlink color in word how to#
Read Also: How to Open a New Web Page On Button Click Using JavaScript Conclusion When we click, it changes the color to blue and then opens the link.When we hover on the link, it changes the color to red.You can do this by using the following code. You have to use :link, :hover, :active, and :visited selectors. Example 2įor example, you have created a link it changes the color when you hover on that link, and it also changes the color when you click on that text. The above method changes the color of the heading to red when you move the cursor to the text. Next, we write style for heading: hover, class.First, we write style for heading class.You can do this by using the following code: Example 1įor example, you have a tag having some text, and you want to change the text color to red. Note: The above syntax is used with class or id name to make a hover effect on that element.
When the user hovers the cursor on that text, it changes the color of the text.ĬSS hover selector method is used for changing the color of the text when you move the cursor on that particular text.
This method is also used to indicate to the user that this is not a regular text, and it is a link to some other page. Purple is the default hyperlink color for a visited link. If a hyperlink is this color, the user can expect that clicking the link takes them to a page theyve already seen. When the user hovers the cursor on that text, it changes the color of the text. A hyperlink has three special colors, in addition to its default blue color, which represent three different states: Visited link - The color of a visited link. This method is to highlight the title of the text. It reminds the user that the user has visited the link. This method is used to make the pages interactive and user friendly.