answersLogoWhite

0

To change the color of the link when it's hovered over use the following:

a:hover

{color: your_chosen_color; }

but it must come after a:link and a:visited (used in the same way as above) to be effective.

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

What css changes color on link when hovered over?

Usually style.css Unless you change it to any other css. For example: .a:hover { background-color:yellow; }


How do you highlight a link?

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: a:hover { background-color: yellow; /* Change to your desired highlight color */ color: black; /* Change text color if needed */ } This will visually emphasize the link when the mouse pointer hovers over it.


What is the role of CSS?

CSS defines the look of the website. It can control the background color of a website, how a link should look, the font, the font size, font color, bold or not bold, italic or not, underline or not, etc.


How do you override css?

If you are using an External style sheet, CSS can be changed by embedding CSS code into the HEAD tag after the link to the external CSS file.Embedded CSS must be contained within a STYLE tag.EXAMPLE:


How do you color the area between margins using HTML or CSS?

You can set the color of margin in CSS. The attribute margin-color is what sets it.


How to get HTML writing in aqua?

Use CSS:#{color: aqua}See the related link below for the Wikipedia article.


What is the CSS property color text?

To define the color of the text w/ CSS, it is {color:[color of text];} Ex.: body{color:#0000ff;}


Write the XHTML and CSS code for an embedded style sheet that configures a background color of white and a text color of green?

The XHTML code to embed an external stylesheet would look like: <link rel="stylesheet" href="style.css" type="text/css" /> The CSS code would need to be placed in a separate document and would need to be saved as style.css. The CSS code need to make the background white and the text green would look like: body { background-color: #ffffff; text-color: #008000; } This code will make your content display in green text against a white background.


How do you change the font color when creating a link?

Insert between the <head> and </head> section on your page <style type="text/css"> a { color: #FF0000; } </style> This example will change the link colour to red


How do you create link css to indexpage?

CSS can be made into a external page and linked to HTML. It can be done by the link tag like <link src="abc.css"></link>


How do you change page frame color?

You can change the page frame color in CSS. Mention the attribute by id and change its color in CSS.


How do you attach a css file?

Attaching a CSS file is done in the <head> of your HTML document with a <link /> tag. Here's the formatting: <link type="text/css" rel="stylesheet" href="YOURFILE.css" />