Adding tool tips

This site is the new docs site currently being tested. For the actual docs in use please go to https://www.jenkins.io/doc.

Any HTML elements in Jenkins can get a tooltip by just having the tooltip attribute. The attribute value can be HTML, but all the mark up needs to be escaped so that the Jelly script still parses as XML. The actual tooltip functionality is provided by YUI. See the example below:

<div tooltip="Stop &lt;font color=red&gt;now&lt;/font&gt;">Text text</div>