Make writing appear when you hover your mouse (tooltips)


we're going to use the <span> tag and the title attribute to make writing appear when you hover your mouse over something

  1. write something in a code page that you want to hover your mouse over
    when you hover your mouse here, something appears!
  2. write this round the text you want to hover your mouse over:
    when you hover your mouse <span title="hello!">here</span>, something appears!
  3. save the code, open the page in a browser, and hover your mouse over the text
    try hovering your mouse over "here":
    when you hover your mouse over here, something appears!

    whatever you write after title= in the first <span> tag will appear when you hover.

more tutorials to try


you might like to try these tutorials too:

Go Berserk Book

Buy Now to buy for
£11.99 US$17.99 €13.99 (not incl. P&P)
for 1 or 2 books
Buy more and save!
Email sales@go-berserk.com
for 3 books or more.



Go Berserk CSS Book

Buy Now to buy for a special price of
£8.99 US$13.99 €11.99 (not incl. P&P)
for 1 or 2 books
Buy more and save!
Email sales@go-berserk.com
for 3 books or more.