forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brolin Empey <bro...@brolin.be>
Subject Re: XDocs document-v20: how to prevent duplication of values of alt + title attributes of img elements?
Date Tue, 19 Jul 2011 16:07:51 GMT
David Crossley wrote:
> Brolin Empey wrote:
>>
>> When I want the value of both the alt and title attributes of an img
>> element in an XDocs document-v20 document to be equal, how can I prevent
>> duplicating the value by copying and pasting it?  Can I declare the
>> value of one attribute to use the value of another attribute?
>
> Sorry, i have no idea what you mean.

Let me provide an example:

<img src="foo.png" alt="foo" title="foo"/>

How can I avoid duplicating “foo” in the value of the alt and title 
attributes of the img element?

Can I declare the value of the title attribute to equal the value of the 
alt attribute?

Mime
View raw message