The <a> tag is an abbreviated version of the similar but more general <anchor> tag. Consider the following CMRL fragment under the internet domain name "example":
<match pattern="weather">
<message>
<content>Today sunny, H 72<br/>
Reply <anchor>
<message>
<content>Today will be sunny and fair with a high of 72 deg F</content>
<message>
</anchor> for details<br/>
<br/>
Tonight clear, L 47<br/>
Reply <anchor>
<message>
<content>Tonight will be clear and cool with a low of 47 deg F</content>
</message>
</anchor> for details</content>
</message>
</match>
Here the query "example weather" produces the response
Today sunny, H 72 Reply (1) for details Tonight clear, L 47 Reply (2) for detailsThe reply "1" produces the response "Today will be sunny and fair with a high of 72 deg F," whereas the reply "2" produces the response "Tonight will be clear and cool with a low of 47 deg F."
Like the <a> tag, the <anchor> tag is used within a <content> tag, and the system turns the <anchor> tags within a <content> tag into links which it enumerates, formats, and displays. The difference between the <a> tag and the <anchor> tag is that the <a> tag can refer only to a query whereas the <anchor> tag can refer to any CMRL terminating node. Specifically, the <anchor> tag must contain exactly one terminating node (which in this case is the <message> tag), which is resolved to if the reply matches the corresponding enumerated link.
To be clear about the similarity between the <a> tag and the <anchor> tag, let's consider a final example. The following CMRL fragment under the internet domain name "example"
<match pattern="">
<message>
<content>He was able to <a query="example elucidate">elucidate</a>
the subject</content>
</message>
</match>
<match pattern="elucidate">
<message>
<content>elucidate -verb<br/>
to make lucid or clear; throw light upon; explain</content>
</message>
</match>
is equivalent to the following CMRL fragment under the internet domain name
"example"
<match pattern="">
<message>
<content>He was able to <anchor><query>example elucidate</query>
elucidate</anchor> the subject</content>
</message>
</match>
<match pattern="elucidate">
<message>
<content>elucidate -verb<br/>
to make lucid or clear; throw light upon; explain</content>
</message>
</match>
In both cases, the query "example" produces the response
He was able to elucidate(1) the subjectand the reply "1" produces the response
elucidate -verb to make lucid or clear; throw light upon; explain