Results 1 to 7 of 7
Thread: info tag?
Apr 5, 2002, 04:18 #1
- Join Date
- Mar 2001
- Southern California, USA
- 0 Post(s)
- 0 Thread(s)
I'm unable to use the info tag. It doesn't work. I'm not sure why.
From Sitepoint Tribune 190:
Here's an interesting tip from Tribuner Frank Pilone:
With HTML 4.0 you can create a message that appears above a word. It'd look very similar to the way visitors can see the ALT text of an image by hovering their mouse pointer over it.
Here's the code that you would insert in your Cascading Style Sheet:
border-bottom: 1px dashed #00cc00;
Next, whenever you want to define the word, you would simply use the "title" attribute to describe the word. For example, if I wanted to let people know what Frank Pilone meant, I could do the following:
<info title="my name">Frank Pilone</info>
Whenever someone hovers their mouse over the word, the text "my name" would appear.
Because people will likely not know that they can get more information about a word by hovering their mouse over the word, it probably makes sense to make the information appear when someone hovers their mouse over a "details" or "more informaiton" link. Here's what it could look like:
Frank Pilone <info title="my name">(Details)</info>