#### 28.2.3 Assigning link attributes with PI markers

To assign an HTML attribute to a link, just before the link insert a PI marker with a name that starts with Link and ends with the name of the link attribute. Make the content of the marker the value of the named attribute. DITA2Go puts the attribute and its value in the generated <a> tag.

See also:

§28.2.2.1 Assigning a link class with a PI marker

§34.3.3 Assigning WAI link attribute values with PI markers

§38.3 Adding attributes with PI markers

Previous Topic: 28.2.2.2 Assigning a link class with a paragraph format

Next Topic: 28.2.4 Specifying link properties with macros

Parent Topic: 28.2 Specifying link appearance

Sibling Topics:

28.2.1 Specifying link colors

28.2.2 Specifying link class

28.2.4 Specifying link properties with macros

28.2.5 Replacing problem characters in links

28.2.6 Forcing link text to lowercase

Table of Contents • Index