Sometimes, we want to use a carriage return in an HTML tooltip.
In this article, we’ll look at how to use a carriage return in an HTML tooltip.
How to use a carriage return in an HTML tooltip?
To use a carriage return in an HTML tooltip, we use
.
For instance, we write
<a href="#" title="Line 1 Line 2 Line 3">Hover for multi-line title</a>
to add line breaks with
into the tooltip text.
Conclusion
To use a carriage return in an HTML tooltip, we use
.