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?