If I ever need to include a newline in a HTML title
attribute tooltip, I use the HTML Escape Character for Carriage Return:

Example:
<img src="" title="Line 1
Line 2" alt="" />
Apparently,
also works, so I'm unclear where I learned to include the leading zero.
However, inserting 
doesn't work when dynamically creating an HTML element in JavaScript.
Working Example:
Hover over the examples below to see the difference in how the tooltips are displayed.
const myImage = document.createElement('img');
myImage.setAttribute('src', '');
myImage.setAttribute('width', '100');
myImage.setAttribute('height', '100');
myImage.setAttribute('title', 'test line 1 test line 2');
myImage.setAttribute('alt', '');
document.body.appendChild(myImage);
<img src="" width="100" height="100" title="test line 1

test line 2" alt="" />
What JavaScript Escape should I use instead of the HTML Escape 
?
N.B. Yes, I know I can use
\n
- but in JavaScript that represents a newline literal.In this case I simply want to include in my string the JavaScript Escape for ASCII / Unicode Carriage Return - basically, the JavaScript equivalent of

in HTML.
Got it. Thanks, everyone.
The answer I was looking for is:
\u000D
is the JavaScript Escape equivalent of the HTML Escape 
Working Example:
const myImage = document.createElement('img');
myImage.setAttribute('src', '');
myImage.setAttribute('width', '100');
myImage.setAttribute('height', '100');
myImage.setAttribute('title', 'test line 1\u000D\u000Dtest line 2');
myImage.setAttribute('alt', '');
document.body.appendChild(myImage);
<img src="" width="100" height="100" title="test line 1

test line 2" alt="" />