> From: Johannes Reiss

> <a href="xxx"><img src="xxx" alt="yyy" title="yayaya">
> But I always prefer:
> <a href="xxx" title="yayaya"><img src="xxx" alt="yyy">
> Is it wrong how I do it?

It depends on what information you're providing with the
title. Are you clarifying something about the image, or
about the resource you're linking to? In the first case,
you'd want the title as an attribute of the image, in the
second as an attribute of the link. Fairly straightforward,
if you stop and consider what you're using the title for.

Patrick
________________________________
Patrick H. Lauke
Webmaster / University of Salford
http://www.salford.ac.uk
******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to