I am curious about this question, so I had to check the source: http://www.w3.org/TR/html401/struct/global.html#adef-title
W3C was completely silent about how the various forms of whitespace are handled inside an attribute, so I can assume that it follows the same rules as HTML.
In HTML, if only in a <PRE> element or similar CSS rule, all spaces are collapsed into a single rendering space.
Thus:
<p>The quick brown fox jumped over the lazy dog</p>
displayed the same as:
<p>The quick brown fox jumped over the lazy dog</p>
This HTML behavior, combined with the fact that user agents (browsers) can render the TITLE attribute as they see fit, makes it likely that most (if not all) of these agents have no reason to save the end ( carriage return and newline or \r\n ).
Edit:
If formatting is important, TITLE text can be escaped and placed inside the data-* element. Using a mouse, a custom popup can display formatted HTML.
Edit 2 - taken from your original question:
<td data-title="This from Ricard<br><br>And also a test<br>Rent 3000.00" style="width:198px;text-align:left"> .... </td>
You can learn more about data-* attributes here: http://www.javascriptkit.com/dhtmltutors/customattributes.shtml
In short, in mouseover code you can find text with:
var mytitle = <element>.getAttribute("data-title");
Then use the popup to display mytitle
source share