What is the HTML or CSS code for hovering normal texts?

March 5, 2012
What is the HTML or CSS code for hovering normal texts?

Question by Undividual: What is the HTML or CSS code for hovering normal texts?
In some Multiply sites, for example – http://abbydeguzman.multiply.com/, when you hover/ mouseover some of the normal texts (not links). tho color changes. I just wanna ask what CSS or HTML code makes it as it is. Please help me. :D

Best answer:

Answer by Ron
Someone misread the fact you said NOT links.

The hover attribute.

span:hover {
color: #f0f;
}

Then:

This text HERE will change color on mouse over.

Change color to suit.

Ron

What do you think? Answer below!

2 Comments »

  1. nado March 5, 2012 at 6:45 pm -

    YOURTEXT
    hope this help

  2. The Web Man March 5, 2012 at 7:08 pm -

    .button {
    color: red;
    background-color:#333;
    display:block;
    padding:10px;
    }
    .button:hover {
    color: blue;
    background-color:#666;
    }