a:hover MUST come after a:link and a:visited. It's also important to know how to style links for use in common interface features whose content varies, such as navigation menus and tabs. Not the answer you're looking for? unset: This keyword indicates to change all the properties applying to the element or the element's p When a link is activated, it's usually also hovered over. For this example, we'll use this great example from icons8.com. that's it, done. Replace the format string with the following DAX expression, and then press Enter: DAX. When setting the style for several link states, there are some order rules: The text-decoration property is mostly used to remove underlines from links: The background-color property can be used to specify a background color for links: This example demonstrates a more advanced example where we combine several CSS properties to display links as boxes/buttons: This example demonstrates how to add other styles to hyperlinks: Another example of how to create link boxes/buttons: This example demonstrates the different types of cursors (can be useful for links): Get certifiedby completinga course today! So follow along and we will also cover other related questions to this (Remove underline from link) Topic. Using CSS, you can change the style of your HTML links to not have an underline using any of the following recommendations. HTML Link Syntax are specified in HTML using thetag as