
Re: help with html code...link enclosed![]()
Posted by Max on 12/08/05
Megan,
Now that more people are using Firefox (Mozilla) browsers,
don't forget to add "title" along with "alt"
<.img src ......... alt="Visit my site!" title="Visit my site!">
The "alt" property only renders on IE, not on Firefox.
Plus, the "title" property is recognized by screen readers.
So, I usually use them both.
Interesting, because W3C validation requires the "alt" property,
but not the "title" property, ...go figure.
Since I've been using CSS and rendering site for all browsers,
I'm discovering a lot of quirks, mostly IE quirks. I sure hope
that the "standards" smooth-out in the next couple years.
--max--
On 12/08/05, Megan wrote:
> Hi Vnna - in order for the code to show in this forum, I am
> going to use square brackets , [], instead of the regular
> brackets to demo how to do it. Since you have done
> a "little" bit you will know how to replace the [] with the
> <>
>
> email link with graphic: [a href="mailto:[email protected]"]
> [img src="path/image.gif width="x" height="y" border="0"
> alt="email me!"][/a]
>
> regular link with graphic: [a href="http://www.mysite.com"]
> [img src="path/image.gif width="x" height="y" border="0"
> alt="visit my site!"][/a]
>
> hope that helps, megan
>
> On 12/08/05, vanna/tx wrote:
>> Hi all- I have an html question. I have just created the
>> top site list at the link below. Any html (very minimal)
>> that I know has been learned via teachers.net so I was
>> able to add some graphics to the list (see welcome module
>> in center and custom module titled "top" on the left).
>> However, now I want to place links in two of the graphics,
>> one to my e-mail and the other to my website. What is the
>> code for this and where do I place it? Obviously I know
>> how to center, and add images etc, but I've never linked
>> an image in html before.
>> TIA!
>> vanna/tx