How do you highlight a link?

1 answer

Answer

1017471

2026-03-26 07:30

+ Follow

To highlight a link, you can use CSS to change its appearance when a user hovers over it. For example, you can set the background color, text color, or add an underline effect. The following CSS code snippet achieves this:

<code class="language-css">a:hover {

background-color: yellow; /* Change to your desired highlight color */ color: black; /* Change text color if needed */ }

</code>

This will visually emphasize the link when the mouse pointer hovers over it.

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.